This article shows how to synchronize components field on Jira Server using External scripts library.
If you update a component directly from the component configuration it does not trigger the update of an issue which is under sync.
To sync the issue once the component has been updated use the guide below.
1. Create the file from the Exalate public repository
We store external scripts for Jira Server in a public repository. Copy the code from the repository below and create a .groovy file. You must keep the file names as below.
2. Upload the file with the external script
You need to upload the .groovy file into the scripts directory
External scripts library location
Jira Server: $JIRA_HOME/scripts
2. Call the script from the Sync Rules
Once all external .groovy files have been uploaded to the proper directory, you need to call the script from the Sync Rules.
Every .groovy file includes comments with a detailed explanation on how to use it. Please check the file comments.