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

How to use JIRA custom fields in opsgenie alert rules?

I am managing a JIRA integration with Opsgenie to create and route the alerts to certain teams when a JIRA issue is created in a specific project. 

To help on routing the issues to the teams I'm using a custom field on JIRA. How can I use that field in the alert filter rules?

Its very frustrating because only the issue standard JIRA fields appear... 


Screenshot 2022-03-29 at 09.01.46.png 

 

I've read similar posts but don't understand the solution proposed of adding the value of the field into one of the alert fields because then its not clear where should the action of assigning to a team be placed. 

In this question, https://community.atlassian.com/t5/Opsgenie-questions/Assign-alert-to-appropriate-team-selected-from-JSM-custom-field/qaq-p/1853852 its proposed to use another rule for Alert updated. Is that correct? I'm sorry but the comments are not very clear...

1 answer

1 accepted

1 vote
Answer accepted
Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 29, 2022

Hi @joana ,

"To help on routing the issues to the teams I'm using a custom field on JIRA. How can I use that field in the alert filter rules?"

This unfortunately is not possible through the Jira integration - since like you mentioned - the integration can only filter on the standard Jira issue fields.

Are you by chance using a Jira webhook to create alerts in Opsgenie? If yes - then you should be able to filter on the custom field of the webhook in the JQL section. What might make the most sense is creating a webhook for each custom field, and send each to its own specific webhook/integration.

For example, if custom field ~ "ABC" trigger the webhook/integration assigned to Opsgenie team ABC. If custom field ~ "XYZ" trigger the webhook/integration assigned to Opsgenie team XYZ. Etc.

cf1.jpg

Thank you for your detailed reply. I am using the new Opsgenie Jira integration and not the legacy one, but I'll try using the legacy with your instructions.

Is there any plans for development on improving the integration with more features? Is there anywhere I can vote for that feature? I would say that in our use case, one of the benefits of using opsgenie was that we stayed within the same ecosystem but if Jira is treated like other third party products there's really no advantage for using together atlassian products and users may go to other solutions in the market...  :( 

Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 30, 2022

Hi @joana ,

I'm unsure if this is on any roadmap, but I've entered a feature request for this that can be followed here: https://jira.atlassian.com/browse/OPSGENIE-338

There is a workaround listed at the bottom as well if you still want to use the new Jira / JSM framework, but the workaround would work for both the older and newer framework.

Like Tim Geling likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events