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,466,937
Community Members
 
Community Events
176
Community Groups

Integration of Opsgenie with JSM

Hi All,

 

I have integrated Opsgenie with JSM for a particular project in JSM. Now myself started receiving alerts in opsgenie for all the incidents but it is always tagged as Priority P3. Also i want to set the rule to create alert only if Incident in JSM is priority 1. Kindly advise.

 

Thanks & Regards

Balaji.S

1 answer

1 accepted

0 votes
Answer accepted
Samir Atlassian Team Mar 11, 2022

Hi @balajisk ,

 

Could you clarify which integration you are using between Opsgenie and JSM? We have a few options now. The most common one involves configuring a webhook in JSM to send the issues to Opsgenie? If so - you have a couple of options for setting it up so that only JSM incidents with priority = P1 will create alerts in Opsgenie.

 

  1. In the webhook you created in JSM that sends incidents to Opsgenie, you can use JQL to to specify a query so that only incidents with priority = P1 are sent to Opsgenie2022-03-11_08-55-19.png

  2. Alternatively depending on your Opsgenie plan, if you have access to "Advanced" view of integrations, you can filter on the JSM integration in Opsgenie to specify which issues from JSM should create Opsgenie alerts2022-03-11_08-57-05.png

    You can also specify that the alerts created in Opsgenie from JSM should have priority = P1
    2022-03-11_08-58-02.png

Hope this helps!

 

Thanks,

Samir

Thanks Samir for your reply, currently I have not tried using web hook and also advanced option not visible for me. Hence myself trying integration under Teams section in Opsgenie. Need to check on web hook.

Thanks for your immediate suggestions.

Hi Samir,

Thanks for your support. Now using Webhooks myself able to send only Priority 1 alerts to Opsgenie.

Now, facing the problem in sending back responses to JSM. I have configured JIRA URL/Username/Password in Opsgenie to Jira Service Management Tabs. Below error myself getting.,

401 Unauthorized: [Basic authentication with passwords is deprecated. For more information

May be i need to use API Token, not sure where to generate, if you can suggest, it helps. 

Myself also going through the articles. 

Samir Atlassian Team Mar 12, 2022

Hi @balajisk ,

 

Yes, you need to generate an API token to use for authentication. You can do so according to this page: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/

Thanks Samir for your reply and support, I have gone through this link and API authentication was success. But was getting below error. Kindly advise.

Could not send [resolveIssue] action to JiraServiceDesk [OG-Network_Jira Service Management]. Reason: Cannot get transition id. Reason: 404 Not Found: [{"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}]

Samir Atlassian Team Mar 12, 2022

@balajisk This means Opsgenie is trying to "Resolve" the JSM issue. When it does this, it makes an API request to list all transitions that will move the issue to a status of "Resolved".

 

this error indicates that for this particular issue type in your JSM instance, there are no transitions available that will move the issue to a status of "Resolved".

 

You will want to look into the workflows/transitions you have configured for this issue type. You can follow this guide: https://support.atlassian.com/jira-cloud-administration/docs/work-with-issue-workflows/

 

If you have further questions, I'd recommend reaching out to support via support.atlassian.com and we can assist you further.

Thanks, I will check on this. Yes I have already opened one case and working with support team. Thanks once again.

Like Samir likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events