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,298,216
Community Members
 
Community Events
165
Community Groups

OpsGenie and Jira integration

Hi 

 

i have created a simple integration between Jira software to OpsGenie.

in short, once new Jira ticket created new Incident is created on OpsGenie and routed to specific team.

based on specific field on the Jira the Incident created for different responder team.

i wanted to achieve 'switch team' where changing that field on the Jira side, will update the opsgenie incident owner team and notify the right team.

although on Jira webhook the events for issues are created + udpated, nothing happens when i'm changing the group field on the Jira ticket and no incident created or udpated due to that.

is it possible from existing integration or ill need to do some jira automation to trigger API of opsgenie or similar?

 

10x

CL

1 answer

1 vote
Samir Atlassian Team Sep 10, 2021

Hi @chene !

 

It's not possible to change which teams are responders for an alert in Opsgenie, you can only have it add a team as an additional responder. This is because you can't remove a team as a responder in Opsgenie.

 

If you want to have an additional team added as a responder to the alert in Opsgenie based on the value of that specific field changing in Jira, we should be able to do this using multiple Create Alert actions in the Jira integration to set team(s) as responders based on the value of this field, assuming this field is one of the "default" fields that you can filter on in the Jira integration in Opsgenie?

2021-09-10_14-25-36.png

 

However if this is a custom field which determines which teams(s) in Opsgenie should be responders, then this may not be possible as you can't filter on custom fields in the current Jira integration.

 

I would recommend reaching out to Opsgenie support via support.atlassian.com and we can work with you on setting this up once we have more details!

 

Thanks,

Samir

Hi Samir,

thanks for your response!

Also based on the API I see it’s indeed not possible to change team and also add responders.

Not sure why though. It feels so basic to change route for incident in a “OnCall” system. (Someone opened a ticket to the wrong group).

 

regarding the integration you’ve mentioned I assume the field I want is a custom one, but the entire screen you’ve showed is not a screen I’m working with, I wonder if I’m missing something here.

 

how do you get to this screen?

im using Opsgenie and Jira software, so the integration part is on Jira on the webhook settings to opsgenie, and on opsgenie on the Jira integration part.

 

thanks

cl

Samir Atlassian Team Sep 10, 2021

Hi @chene 

 

The Alert API just offers the "Add Responder" action, just like you can do in the Opsgenie Web App.

 

The screenshot I sent was from the "Advanced" View of the Jira integration...

e.g.

2021-09-10_15-49-55.png

If you don't have that option, it's due to your plan not offering "advanced" integrations.

Like Steffen Opel _Utoolity_ likes this

thanks again for your reply.

 

i'm not sure how to check what is my current plan.

while clicking on subscriptions on the opsgenie view i dont see anything related to opsgenie specifically (only jira service management - powered by opsgenie)

 

is this means i'm on the Free plan?

10x

Samir Atlassian Team Sep 13, 2021

Hi @chene ,

 

This means you are on one of the JSM subscriptions. JSM is a subscription that includes Opsgenie, so you are likely on the JSM Standard plan which doesn't have access to "Advanced" Integrations in Opsgenie. You would have to upgrade JSM to the Premium plan in order to leverage advanced integrations.

 

Thanks,

Samir

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

161 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you