Copy Fields from Another Issue

This post function copies the selected fields from the issue being transitioned to the specified issues. It also offers the flexibility to control its execution based on preconditions. By utilizing preconditions, you can determine whether the post function should be executed or skipped based on the evaluation of a Jira Expression. The precondition, defined in terms of a Jira Expression, should return a boolean value. If the result of the precondition is true, indicating that the specified condition is met, the post function will be executed. Conversely, if the precondition evaluates to false, the post function will be bypassed, allowing for conditional execution based on your specific criteria.

As “Source Issue” , you can select one of the:

  1. Current Issue: The current issue being transitioned

  2. Parent Issue of Current Sub-task: The parent issue of the current sub-task.

  3. Epic of Current Issue: The epic issue associated with the current issue.

As “Destination Issue”, you can select one of the:

  1. Current Issue: The current issue being transitioned

  2. Sub-tasks of Current Issue: The sub-tasks of the current issue.

  3. Parent Issue of Current Sub-task: The parent issue of the current sub-task.

  4. Issues that Belong to Current Issue: All the stories that belong to the current epic.

  5. Epic of Current Issue: The epic issue associated with the current issue.

  6. Issues Linked to Issue with Any Link Type: The issues linked to the current issue using any link type.

  7. Issues Linked to Issue with Following Link Type: The issues linked to the current issue using a specific link type. You will be asked to provide the link type.

  8. Issues returned by JQL: The issues returned by a JQL. You need to provide a Jira Expression whose result will be used as the JQL to find the issues. You can also provide a static string in double quotes if you prefer a static JQL.

Available “Issue(s) to Operate on” Options
Dynamic JQL Query Example. issue?.key will be replaced by the key of the issue transitioned. The result will be “Epic Link” in (SCRUM-14) if the issue transitioned has the key SCRUM-14.
Static JQL Query Example

Then, you need to select the source and destination fields.

Click on the “Add” button, to add more fields to copy.