This issue applies to JMWE |
Copying a Standard JIRA field from a linked issue (such as the Epic) fails on the Create transition. |
This is due to a limitation of JIRA. On the Create transition, post-functions that set standard fields (such as Fix Version/s or Labels) should be put before the Creates the issue originally built-in post-function. But the link between the new issue and its linked issue is not created until the issue is created (during the "Creates the issue originally" post-function) and hence when the post-function runs, it doesn't find the linked issue.
Create a hidden transition from the <to_status> of the Create transition to itself, put the post-function on the new transition, and finally trigger it using the Transition Issue
post-function on the Create transition.
Creating the hidden transition:
On the Create transition:
|
Note that the outcome of the post-function will likely not be visible immediately - you will need to refresh the issue view to see the new value of the field.