This rule allows you to change the status of a checklist item to a custom status when the issue transitions.
Limitations
|
ModificationsThis example uses the Issue transitioned trigger. You can modify the rule to use another trigger. Do not use the generic Issue updated trigger because when a checklist item status changes, an “issue updated” event is sent by Jira which will make the automation rule run repeatedly. |
Ensure the Save local checklist items to Jira custom fields global setting is enabled.
Find the custom field ID of the Checklist Text field.
Navigate to Project Settings > Automation (or Jira Settings > System > Automation rules).
Click Create rule.
Select the Issue transitioned trigger and the appropriate from and to statuses. Click Save.
Click New action and select Edit issue.
Select the Checklist Text field from the dropdown and enter{{issue.customfield_XXXXX.replaceAll("[.*?]","[Deployed]")}}
where XXXXX is the custom field ID of the Checklist Text field, and “Deployed” is the name of the target custom status.
Click Save.
Name the rule and click Turn it on.