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,552,956
Community Members
 
Community Events
184
Community Groups

{{priority}} variable empty from JIRA to OpsGenie

Hi Experts,

We are trying to automate alert generation(OpsGenie) upon ticket created in JIRA.

Everything seems to work smoothly, except for {{priority}} which comes as empty.

Not sure where the miss is..

Can someone please help me understand the gap..

1 answer

1 accepted

0 votes
Answer accepted
Dam
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 31, 2022

Hi @Raghav Agrawal 

Does the issue in jira you are using to create alert in Opsgenie have a value for the priority field (native jira field) ? Maybe when you create the issue the field is empty and some jira project configs are not done properly also for the priority field... 

As I see in the doc as it is a native field it should work if the jira issue has a value for this field ;) 

I hope it helps a bit. 

Cheers,
Dam. 

Hi @Dam ,

Thank you for the quick response.

In our JIRA Project, priority is calculated on 'Impact' and 'Urgency' dropdown variables.

For eg:-
If we keep Impact and Urgency, both as low, P5(lowest) priority is reflected in JIRA.

We don't define it manually. Maybe that is the reason its sending priority as empty in OpsGenie? Please suggest..

Thanks,
Raghav

Dam
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 31, 2022

@Raghav Agrawal yes i think this is why... how do calculate the priority ? With an automation rule maybe, if so, then automation rule are down after issue creation so i think this is why... 

can you try with a simple priority selected on issue creation ? then you alert in Opsgenie should be created with the priority value filed... just to make sure we found the good cause ;) 

Dam.

Hi @Dam ,

If I understand correctly, the rule applies post creation of incident and doesn't work 'during' the creation? Maybe that's why the alert created in 'during' phase has empty priority values?

Please let me know if I understand this correctly :)

I'm relatively new to JIRA-Opsgenie, pardon me if I miss something :D

Cheers,
Raghav

Dam
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 31, 2022

@Raghav Agrawal  yes the rule is asynchronous after creation... the create event is sent before the rule runs... ;) 

It's all fine you are here to learn and improve your knowledge ;) and I'm happy to help 

Cheers,
Dam.

Hi @Dam ,

Thank you for the valuable info :) Learned something new today.

You're a rockstar :)

Cheers,
Raghav

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events