This post function automatically updates a single or multiple issue fields on a single or multiple target issues.
Additional field values can be taken over or dynamically set using parser expressions.
Select the issue(s) to be updated. The following options are available:
|Current issue||The current issue will be updated.|
|Parent issue||The current issue's parent will be updated.|
|Sub-tasks||The current issue's sub-tasks will be updated. If you choose this option you can further filter your selection (e.g. by issue type or status). Only useful for standard issues.|
|Sibling sub-tasks||The current issue's sibling sub-tasks will be updated. Only useful if the current issue is a sub-task.|
|Linked issues||Linked issues will be updated. If you choose this option you can further filter your selection (e.g. by issue type or status).|
|Linked epic||The related epic will be updated.|
|Issues under epic||All issues related to the same epic will be updated. If you choose this option you can further filter your selection (e.g. by issue type or status).|
|Sibling issues under epic||All sibling issues related to the same epic will be updated. If you choose this option you can further filter your selection (e.g. by issue type or status).|
|Set target issue manually (parser expression)|
Set or clear values for specific fields. The following options are available depending on the field type:
|Automatic||This option is only available for the field Assignee.|
|Selected value||Select a specific value from the dropdown list.|
|Copy field value from current issue||Copy the value from a field in the current issue. Select the field you want to copy the value from.|
|Set field value manually (parser expression)|
|Clear field value||Choose this option to clear the value of the target field. This option is not available for the Summary field.|
You have the following two options:
|Send email notification|
If you check this option, Jira will send email notifications according to the associated notification scheme.
|Update issues immediately|
Choose to update issues immediately if you want Jira to fire a separate "Issue updated" event for any field change. This will also result in a dedicated issue history entry.
The result of the logical expression must return a boolean value of either:
true→ the post function will be executed
false→ the post function will not be executed
Using the conditional operator, even complex or multi-layered conditions can be constructed.
Make sure to learn more about defining logical expressions and browse through the various examples here: Logical mode
Make sure that the user running the post function has all the relevant permissions to perform the actions defined in the configuration (e.g. "Update Issues")!
If you want to keep track the actions being performed automatically, we suggest to create a dedicated JWT account, granted all relevant permissions, and use it in the Run as parameter to identify which changes have been made with JWT.