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,367,580
Community Members
 
Community Events
168
Community Groups

Avoid a duplicate ticket with Datadog and Jira integration

In my environment I have an integration of Datadog and JSM, that is, when there is an alert, a ticket is created automatically.
I would like to know if there is a way to create an automation that, if there is already an open ticket, do not open another one.

1 answer

0 votes
bmccoy Atlassian Team Aug 29, 2022

Hi!

I'm not sure how the current integration is set up, but it can be a bit tricky to prevent tickets from being created unless it is automation that is creating them.  However, you should be able to set up an automation that will close an issue as a duplicate.

  • Listen to issue created events,
  • Filtering the automation down to just those that come from datadog (e.g. via issue type or labels).  
  • Check if there are any other issues that have the same description/summary/custom fields (or however you plan to identify the duplicates)
  • If yes, close the ticket.

It might look something like this:

Automation - Code Barrel JIRA 2022-08-30 09-05-44.png

Cheers,
Brydie

Isso não seria o ideal para mim, mas ajudaria se você adicionasse na automação, depois de Concluído, incluir um comentário de que o ticket criado anteriormente (se estiver no status Aberto) já está sendo tratado. Seria algo assim:

This ticket is already being handled in ticket {{issue.key}}


Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events