...
Instructions
Navigate to the desired workflow transition and add intended workflow to make the necessary changes in the edit mode.
Select the required transition.
Select the Post functions tab and click
Add post function
.Add the “Create / Clone issue(s) (JMWE app)” post-function.
Fill in the required details.
Select the checkbox “Run a Groovy script after the issue is created” under “Post-creation script” and add the below “Post-creation script:”
Code Block language groovy if(issue.get("customfield_10000")) newIssue.linkIssue("relates to",issue.get("customfield_10000"))
...