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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Connecting service desk to opsgenie

Hello!

I've been trying to set up OpsGenie to work with ServiceDesk but I'm having some problems. I want to create an automation that creates an alert on OpsGenie when a ticket on ServiceDesk goes to a specific status.

I managed to set up this exact workflow through the ServiceDesk automations page. When the ticket reaches a certain status, it fires up a POST request to https://api.opsgenie.com/v1/json/jira with my apiKey. The request works and it reaches its destination, but it does not creates an alert on OpsGenie.

On the other hand, I managed to automate an alert creation on OpsGenie through https://liber.atlassian.net/plugins/servlet/webhooks. I'm assuming that this is the legacy way of doing the same thing. Through this configuration, I can automate the alert creation process on OpsGenie, but I cannot chose to do that only when the ticket transitions to a certain status, like I can in the other page I mentioned above.

Does anyone knows how to solve this? I'm using the same webhook and the same apiKey on both workflows that I mentioned, but only the latter works.

1 answer

1 accepted

1 vote
Answer accepted
Nick H Atlassian Team Oct 30, 2020

Hi @guilherme 

Creating Opsgenie alerts when Jira/JSD tickets move to a certain status is dependent on how the Integration's Create Alert action is configured.

By default - the Create Alert action is set to create Opsgenie alerts from new Jira/JSD tickets. You can adjust the action's filter so the status change and updates create alerts vs. new tickets creating alerts. For example:

 

JSD comm 1.png

 

You'll also want to make sure your Webhook is configured to send updates to Opsgenie so when the status changes, a request is sent:

 

JSD comm 2.png

 

If adjustments are made on the Create Alert action, but no alert is being created in Opsgenie, you can always review the logs to check what is being parsed in the payload to make adjustments to the filter as well:

 

JSD comm 3.png

 

Hope this helps! Let us know if you run into any other questions, issues, etc.

-Nick

Thanks for the reply, Nick!
Unfortunately I can't seem to reach that first page that you showed in your answer. I only see "Slack" listed in my Integrations tab in the left menu. Do you know what are the steps to make "Service Desk" show up there as well? 

Thanks again!

Nick H Atlassian Team Nov 05, 2020

Hi @guilherme 

If you see only a Slack integration listed in the Configured Integrations tab, then it sounds like the JSD integration hasn't been created. So you will want to add a new JSD integration from the Settings tab >> Integrations tab.

Also - I'm realizing you mentioned in your first comment "it fires up a POST request to https://api.opsgenie.com/v1/json/jira with my apiKey." This sounds like you are using Automation Rules vs. Webhooks.

Opsgenie does not fully support Automation Rules / POSTs to Opsgenie through this method - so we highly recommend following these steps to get the integration working as expected through a Webhook: https://docs.opsgenie.com/docs/jiraservicedesk-integration

^ That doc provides step-by-step configuration instructions on both the Opsgenie and JSD sides. Let us know if you run into additional questions.

-Nick

Hello, Nick!

I tried to follow the documentation you sent me earlier but I reach a dead end at the URL https://app.opsgenie.com/integration#/add/JiraServiceDesk, which is step 2 of the "Adding Jira Service Desk Integration in Opsgenie" section. This URL redirects me to https://liber.app.opsgenie.com/integration, and then nothing loads at that page, it's just the navbar with a blank html.

If I go to Settings, there's no "Integration" or "Integration List" button for me to click as well.

I ended up trying the automation because I really need this to work asap, but what I actually need is exactly that first screen that you sent me.

Nick H Atlassian Team Nov 05, 2020

Hi @guilherme 

I do believe that link is broken so I'll report this to engineering. Thanks for pointing that out.

Your account, liber, is subscribed to an Essentials plan - which requires integrations to be added under a team's Integrations tab.

But - Essentials plans do not have access to the first screenshot I sent - which shows the Advanced tab of the integration. This tab / functionality is only included in the Standard and Enterprise plans.

So the use-case "I want to create an automation that creates an alert in OpsGenie when a ticket on ServiceDesk goes to a specific status" - is not really be possible. On the Essentials plan, you'd only have the ability/functionality to create an Opsgenie alert when the JSD ticket is created.

-Nick

Oh, I see. That makes sense now.

I'll see what I can do here then.

Thanks, Nick!

Nick H Atlassian Team Nov 05, 2020

Of course! Let us know if you run into any other questions, issues, etc.

-Nick

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Opsgenie

New! Investigate and re-deploy stable deployments from the Incident Investigation view in Opsgenie

We’re excited to announce the latest enhancement to Opsgenie’s Incident Investigation view. Now when an incident occurs users can select the previous stable deployment, and begin the redeployment pro...

311 views 0 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