Duplicate tickets in Jira can clutter your project and make it difficult to prioritize and resolve issues efficiently. When multiple tickets with identical or similar summaries and descriptions are created, it can lead to confusion and duplicated efforts among team members.
To streamline your workflow and maintain an organized queue, you can utilize Jira’s Automation feature to automatically link duplicate tickets and close any new duplicates. This ensures that all related issues are connected and prevents redundant work.
We will:
Create two automation rules:
project = "YOUR_PROJECT_KEY" AND summary ~ "{{issue.summary}}" AND key != {{issue.key}}
Replace YOUR_PROJECT_KEY
with your actual project key.
This will link the “found issue” (original issue found by JQL) to the trigger issue (newly created duplicate).
To avoid performance issues and false positives, consider refining your JQL query for any requirements that are important to your specific project. Examples:
AND status != "Done"
AND reporter = {{issue.reporter}}
The first rule will automatically link duplicate and original tickets. In order to set the status the newly created duplicate to “Done” a second rule is needed. The reason why this is not easily possible in a single rule is beyond this article’s scope.
status = "To Do" AND issueLinkType = "duplicates"
This searches for issues that are in “To Do” status and are duplicates of other tickets.
This issue was detected as a duplicate and automatically closed.
You are now done! Every time a ticket is created, it will be linked to potential duplicates, and all linked duplicates will be automatically closed at regular intervals.
This automation is heavily based on the assumption that the summaries are very similar. It does not help if the summaries are different or if the tickets are “semantically identical” (the same ticket, but written in different words) or if more complex cleanup actions must be done, e.g. merge participants, comments, etc.
In case you need something a little bit more powerful, feel free to check out Duplicate AI ( Atlassian Marketplace) - It’s free for 30 days.
– Kind Regards, Markus