You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have an existing integration between JIRA Service Desk and OpsGenie (with the correct early access type project) and the webhook is working as intended. When I create a ticket in project ITAL, with issue type Alarm, and Priority Highest, it creates an alarm in OpsGenie, and the correct Team receives notifications.
But once this alarm is created in OpsGenie, that's it. No further communication seems to be taking place between the alarm, and the ITAL ticket. I really really want a comment to be added to the ticket, and a transition to take place when the alert is acknowledged.
Here's what I see in OpsGenie after the webhook creates the alert (I do notice that there's no listed Jira Service Desk request listed at the bottom, but I don' t understand why, since JSD created the alert, and it should be linked, no?):
Here's the integration config (just the comment for now.. haven't added the next line since it's not working at all)
Last but not least.... As mentioned above, it IS an early access project, but afaik, this type of linking was available before via integration/apis in OpsGenie. I don't believe it's the EA project giving me the issue, so I thought it was worth visiting the community for this Q. Thanks!
@Rosa M Fossi If you check the alert's activity log tab, do you see any activity related to Opsgenie sending actions back to Jira?
It should at a minimum show an attempt and a description of the error if the action failed there.
I also noticed you have changed the default issueKey extraProperty field to IssueKey (capital "I"), can you please change that back to issueKey in the integration's settings and give that a try?
@Vlasjov Prifti Yep! In your case that's likely the culprit. Generate an API token and use that as your password in the integration instead: https://confluence.atlassian.com/cloud/api-tokens-938839638.html?_ga=2.60758382.239681881.1536772526-1042436459.1460608547
@Robert thanks for the response. I don't actually see an attempt like Vlasjov has in the log.
EDIT: I lied... i looked further in the log.
Could not send [addComment] action to JiraServiceDesk [cs_alarm_CRM_JiraServiceDesk]. Reason: 401
I did use a token. Not my credentials.
I'm not certain about that capital letter. I didn't realize that was something that I entered. I only created the webhook.
@Rosa M Fossi That's progress! Can you try removing the trailing slash from your Jira URL? That could be the issue if it's causing a malformed URL.
If that doesn't improve things, would you be able to open up a support ticket (https://support.atlassian.com) or reach out via the in-product chat bubble? We have a few more tools available that way and can work with you to pin down the root cause.
Thanks~ I just tried that change. But just received that same "Could not send / 401" error. Before I reach out to support, can you eyeball the screenshots below?
On the OpsGenie screen, is that the right user account ID format?
On the jira webhook screen, do I have the right config in the webhook?