You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I did the integration Zabbix+Jira and now I've automatic Issue from monitoring, but when some issue is trigged twice in Zabbix we have a duplicate issue in Jira.
It is possible to delete that duplicate issue?
May the automatization be with you !!
Hello Pedro,
Thank you for reaching out to Atlassian Community!
Testing on my local site and also checking some similar cases, I found a workaround that may help automatically delete duplicated tickets.
It's not possible to do using only one automation rule, but two. One will link both duplicated issues and the other rule will delete the duplicated one.
If the duplicated tickets are all created in one project, please create the automation on Project settings > Project automation (Classic) or Project settings > Apps > Project automation (Next-gen).
First automation rule:
When: Issue created
For JQL summary ~ "{{triggerIssue.summary}}":
Then Link issue to:
Second automation rule:
When: Issue linked
For Linked issues:
Then Delete issue:
Note: Before saving this rule, go to "Rule details" and select the option "Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule."
After that, publish the rule.
For all new issues, the duplicated ones will be automatically deleted.
Please, give it a try and let us know how it goes.
Regards,
Angélica
Hello Angélica !!
Tks for replay.
I followed the instruction but something happens, I still have duplicate tickets in my project.
take a look...
There is some way to block a new issue with the same name?
Like this: Check if the issue has the same name and blocking before creating a ticket in the project?
If this not possible maybe there is a way to merge all the duplicates issues in just one ticket.
Regards,
Pedro Schawirin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the details, Pedro.
The automation will work for future tickets.
You can uncheck the option "Only include issues that have changed since the last time this rule executed", so the automation will run for existing tickets.
This option appears on Branch rule / related issues on the first automation rule.
Currently, it's not possible to merge tickets, it's possible only to link them. There is a feature suggesting this option:
Please, take your time to test and let us know how it goes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is an old thread and I am trying to get this running for mine as well. I have it setup exactly as above but getting this error:
ACTION DETAILS: ["10008"]
BRANCH RULE / RELATED ISSUES
Error searching for related issues. This is most likely because the following issues don't have a related issue of the type you specified. Try narrowing your search to only include issues that contain links to related issues:
EOB-89: "((summary ~ "Task: [Offboarding] Send shipping label to return hardware James Bond Due: 2023-01-27") AND (key != EOB-89)) AND (project in (10008))" - The text query 'Task: [Offboarding] Send shipping label to return hardware James Bond Due: 2023-01-27' for field 'summary' is not valid: probably your range query is incorrect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.