Skip to main content
Skip table of contents

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 work item transitions.

Limitations

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

  • If you are using Checklists 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.

Notes

If you are using this rule in a team-managed project, you first need to add the Checklist Text custom field to the project. To add a field to a project:

  1. Navigate to Project settings > Fields.

  2. Click Add field.

  3. Select the Checklist Text.

  4. Click Add 1 field.

Modifications

This example uses the Work item transitioned trigger. You can modify the rule to use another trigger. Do not use the generic Work item updated trigger because when a checklist item status changes, a “Work item updated” event is sent by Jira which may make the automation rule run repeatedly.

Change Item to Custom Status on Transition

  1. Ensure the Sync checklists to Custom Fields global setting is enabled.

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

  3. Click Create rule.

  4. Select the Work item transitioned trigger and the appropriate from and to statuses. Click Next.

  5. Click New action and select Edit work item.

  6. Select the Checklist Text field from the dropdown and enter
    {{issue.Checklist Text.replaceAll("\[.*?\]","[Deployed]")}}
    where “Deployed” is the name of the target custom status.

    Screenshot 2024-08-23 at 10.30.38 AM.png

  7. Click Next.

  8. Name the rule and click Turn it on.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.