This article shows how to synchronize sub-task on Jira On-premise using External scripts library.
When syncing sub-task it's important to keep the parent-child relation. Exalate external script SubTask.groovy allows to sync sub-tasks even if the parent task is not synced yet.
Let's consider you already have the Connection configured between two JIRA Instances.
Now you need to configure sub-task synchronization:
Create files from the Exalate public repository
We store external scripts for Jira Server in a public repository. Copy the code from the repositories below and create .groovy files. You must keep the file names as below.
Upload the files to the $JIRA_HOME/scripts directory
Configure Sync Rules with the scripts provided below:
Add the snippets below to the end of the Sync Rules.
Add the code to a new line at the bottom of the incoming sync rules block.