I have a slack dev alerts channel:
Where the devs wish to have:
Input data - message with alertname equal to DriverIsDead or VpnConnectionLost in dev-alerts channel
Output is a Jira ticket with a specified issue type in the JIRA project. The name of the ticket contains the connector and alertname fields from the message (in any human or machine-readable format. e.g. Dragon Mart 2 Connector: DriverIsDead, because I would like the script not to create a new ticket if there is already an open ticket with the same name)
How can this be achieved?
Hi @Javanshir Mustafayev _ HIT
one question that comes to my mind is:
How do messages appear in slack:m/ where do they come from?
Is it needed to go from 1 system to slack and then from slack to jira? Or could data grabbed from the same system?
Best
Stefan
I was told it is alertmanager
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Javanshir Mustafayev _ HIT
Are those infos from alertmanager sent via API? If so this could be done directly with jira. Alertmanager will send an API call to Jira that an automation rule could grab via a "incoming webhook" trigger and create a ticket automatically.
see webhook trigger docu below:
https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Incoming-webhook
and webhook config docu alertmanager:
https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stefan Salzl yes, but how do I configure the API access to be safe in terms of security?
Examples are very appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stefan Salzl oh, I've misread your reply - the incoming webhook automation trigger is resolving my issue - thank you very very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AWESOME! I´m happy we could find the right solution.
Thanks for your feedback.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The question is still open, any help is appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.