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,366,535
Community Members
 
Community Events
168
Community Groups

How to create jira ticket automatically for prometheus alert

In my organization ,we often get prometheus alert.
I am planning to create jira ticket automatically when prometheus critical alert fires.
And when the same alerts comes ,it should append with the old jira ticket.
Do you guys any idea about this?

Thanks
Anish

1 answer

0 votes

Rig up Prometheus to send an email to Jira when the first alert happens, and read the issue key that is created as a response.  Then if the alert happens again, get it to use that issue key in the subject of any further emails to Jira.

You could also do this with REST calls instead of emails, but it's a bit more complex

@Nic Brough _Adaptavist_ @Can you tell me how to do with the help of webhook and Rest Api 

Do you have  any samples/documentation with examples so that I can go through.

We don't use SMTP .I don't think email handler will work for us

Ok, you'll need Prometheus to make calls to the rest API - start at https://developer.atlassian.com/cloud/jira/platform/rest/

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events