We have a new documentation site. Please go here to see the latest.

Change Item to Custom Status on Transition

This rule allows you to change the status of a checklist item to a custom status when the issue transitions.

 

 

Limitations

  • You will need to modify the regular expressions to match your custom checklist statuses.

  • If you are using Checklist for Jira ENTERPRISE , note that this rule cannot modify a Global Checklist. Global Checklists are not saved to the Checklist Text custom field and therefore cannot be referenced by the automation rule.

 

Modifications

This 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.

 

Change Item to Custom Status on Transition

  1. Ensure the Save local checklist items to Jira custom fields global setting is enabled.

  2. Find the custom field ID of the Checklist Text field.

  3. Navigate to Project Settings > Automation (or Jira Settings > System > Automation rules).

  4. Click Create rule.

  5. Select the Issue transitioned trigger and the appropriate from and to statuses. Click Save.

  6. Click New action and select Edit issue.

  7. 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.

  8. Click Save.

  9. Name the rule and click Turn it on.