Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,331
Community Members
 
Community Events
176
Community Groups

How Delete Issue with the same name

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 !!

1 answer

2 votes

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}}":

Screen Shot 2020-10-01 at 14.10.42.png

Then Link issue to:

Screen Shot 2020-10-01 at 14.11.17.png

Screen Shot 2020-10-01 at 14.11.50.png

Second automation rule:

When: Issue linked

Screen Shot 2020-10-01 at 14.12.37.png

For Linked issues:

Screen Shot 2020-10-01 at 14.13.03.png

Then Delete issue:

Screen Shot 2020-10-01 at 14.13.51.png

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

Screen Shot 2020-10-01 at 14.23.47.png

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

duplicateissue.PNG

robo1.PNGrobo2.PNG

erro1.PNG

 

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

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.

Screen Shot 2020-10-09 at 10.47.09.png

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.

i just wanted to thank you that it saved my life!

Like Angélica Luz likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events