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,560,525
Community Members
 
Community Events
185
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.

2 answers

1 vote
bmccoy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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}}


Hi. Can you guys tell me where do I set this app.

Diana_Architect_ZigiWave
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Jun 07, 2023

@Marlon Bacala which app? Jira Automation?

@Diana_Architect_ZigiWave  it is this https://www.atlassian.com/devops/observability-tutorials/jira-datadog-integration

I integrated datadog with Jira. It seems to be working since I followed this document https://www.atlassian.com/devops/observability-tutorials/jira-datadog-integration. However I got stuck in section 2 (Automatically create issues from Datadog alerts). Ticket is automatically created once alert is triggered however it creates a duplicate ticket when alert is re triggered. Can anyone help thanks.

0 votes
Diana_Architect_ZigiWave
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Dec 06, 2022

@Anthony Morais hi! Hope you've found the reason behind the duplication issue. May I ask if you're using any additional tools to establish the integration? Perhaps the problem comes from it? I'd go back and see if the mappings are set properly. If, at some point in the future you happen to have a similar project and you're open to using a 3rd party solution - check out ZigiOps. It can help you connect the two systems and sync their data. It had advanced mapping settings so it would not allow any duplication. Feel free to look at it and if you decide you'd like to know more about it work - you can secure a demo meeting.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events