Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIra Auatomation rules not passing the {{issue.key}} to opsgenie for opsgenie and JIRA priority sync

Suman Saurabh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2024

I have written a JIRA Automation rule follow this doc 

https://confluence.atlassian.com/jirakb/update-opsgenie-alert-priority-when-the-issue-priority-in-jira-is-changed-1236929317.html

Based on this i am trying to sync Opsgenie Alert Priority and JIRA Priority , My automation sends the URL Post suecssfully , However at the OG end its not getting changed.

 https://api.opsgenie.com/v2/alerts/{{issue.key}}/priority?identifierType=alias

 

Using issue.key does not works at all 

However when i replace the issue key with OG alert ID the priority get updated 

 https://api.opsgenie.com/v2/alerts/ebea4129-cf01-4bab-8622-c21b56717999-1709836064349/priority?identifierType=alias

 

How to use alias as a field for the web request to be sent via jira . I am already having this feild in my JIRA 




1 answer

0 votes
Alan Violada
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 11, 2024

Hey Suman, Alan from the Opsgenie Support team here.

Alerts that were created via the Jira integration should have the "alias" field set to the Jira issue key, which is what would make that web request to update the priority work.

If the alert was created with an alias that does not match the Jira issue key, the web request would end up failing to be parsed.

I would recommend creating a support ticket at Contact Support so that we can take a look at your instance and logs and figure out if some configuration needs to be tweaked.

 

Cheers,

Alan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events