This article explains how to copy remote links ofthe current issue to the new issue in Create issue(s) (JMWE app) post-function, using callJira filter.
Instructions
Navigate to the desired workflow transition and add the “Create issue(s) (JMWE app)” post-function.
Fill in the required details.
Select the checkbox “Add a comment to the current issue” and input the below template:
Code Block language java {% for link in issue | remoteLinks %} {% set dummy = "/rest/api/2/issue/:issue/remotelink" | callJira(verb="post",params={"issue":newIssueKey},body=link) %} {% endfor %}
This will copy the remote links on the current issue to the newly created issue. Note that no comment will be added to the current issue since the template returns nothing.
...
References
...