Issue Checklist for Jira is now Checklist for Jira. New name, same great app. Please go here to see our new documentation site.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

When a migration is performed, a webhook adds a Default checklist line to the Checklist Text field. This is done to distinguish between checklists when there are multiple checklists on the issue.

However, this can result in an extra, empty “Default Checklist” being added to all issues.

Automation Rule

Use the automation rule below to remove the extra checklists.

  1. Ensure the Save checklist data to Jira 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 Scheduled trigger. The date and time will not matter. You can execute the rule from the automation interface.

  5. Click the Run a JQL search and execute actions for each issue in the query checkbox.

  6. Enter a JQL expression for the issues you want to edit. To avoid performance-related limits of automation, you may want to run this rule in batches. To do so, add a range of issue keys to the JQL query in step 6. For example, Project = AK AND issueKey >= AK-1 and issueKey <= AK-500 .

    Note that the border issues, AK-1 and AK-500, must exist for the JQL to work. Once you have run the rule, you can adjust the JQL to edit the next batch of issues (AK-501 to AK-1000), etc.

  7. Click Save.

  8. Add a New condition under the new branch.

  9. Select Advanced compare condition.

  10. Enter the following:

    1. {{issue.Checklist Text}}

    2. contains regular expression

    3. \A# Default checklist\s*#

  11. Select New action.

  12. Select Edit issue and Checklist Text as the field to be edited.

  13. Enter {{issue.Checklist Text.replaceAll("\A# Default checklist\s*#","#")}} in the text box.

  14. Click Save.

  15. Name the rule and Turn it on.

  16. Click Run rule.

  • No labels