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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

165 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you