Skip to main content
Skip table of contents

Extra "Default Checklists" on Issues

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.

Removing Duplicate Checklists

You can use an automation rule to remove duplicate checklists.

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

  2. Depending on the size of your instance, it may take a couple of hours up to a full day for the syncing to complete. Please allow adequate time before executing the automation rule below.

Automation Rule

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

  2. Click Create rule.

  3. Select the Scheduled trigger. The date and time will not matter. You can execute the rule from the automation interface.

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

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

  6. Click Save.

  7. Add a New condition under the new branch.

  8. Select Advanced compare condition.

  9. Enter the following:

    1. {{issue.Checklist Text}}

    2. contains regular expression

    3. \A# Default checklist\s*#

  10. Select New action.

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

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

  13. Click Save.

  14. Name the rule and Turn it on.

  15. Click Run rule.

JavaScript errors detected

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

If this problem persists, please contact our support.