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,556,248
Community Members
 
Community Events
184
Community Groups

Zendesk integration only works one way

Hi,

I've configured a Zendesk integration in OpsGenie to do this: "From an Opsgenie Alert, create a Zendesk Ticket and synchronize both systems to reflect the changes made in any of these systems."

When creating a new alert, a ticket is successfully created in Zendesk, but updates to the ticket in Zendesk are not applied to the alert.

There's this warning in OpsGenie's Integration log when the alert is created: "[ZendeskV2-Zendesk] Skipping callback for [AddInternalDetails] action on alert with alias [...], no matching rule was found.". 

What rule is this referring to?

 

Also (and maybe related), whenever something get's updated in Zendesk and an OpsGenie trigger is activated, this warning appears in the logs: "[ZendeskV2-Zendesk] Discarded incomingData, Reason: Missing/Incorrect ticket parameter; Discarding!"

 

Any idea what I'm missing here?

1 answer

0 votes
Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 09, 2021

Hi @Gijsbert ,

On the Zendesk side, you will need to configure a Target (essentially the Opsgenie integration that will be sent requests when actions are taken on the Zendesk ticket), and some Triggers (actions taken on the Zendesk ticket that send to Opsgenie and trigger the Target/integration).

For more information on those, you can review the Configuration in Zendesk part of our documentation here: https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-zendesk/#Add-Zendesk-Integration-in-Opsgenie

Step 9 outlines the configuration for each trigger: https://github.com/opsgenie/opsgenie-integration/blob/master/zendesk/triggerInstructions.md

You can most likely skip the Create Action since your workflow is Opsgenie alerts creating Zendesk tickets, but you should consider adding a trigger for the others; Pending Action, Resolved/Closed Action, Add Note Action.

Within the Opsgenie integration, you can configure what will happen to the alert when these triggers/actions are taken on the Zendesk ticket, and how it will map to the Opsgenie alert:

zdcomm1.jpg

If configured correctly on the Zendesk side, this should work as expected with actions taken on the ZD ticket reflecting on the OG alert:

zdcomm2.jpg

 

Hope that helps! Let us know if you run into any other questions.

Thanks for your reply @Nick H.

We double checked the Zendesk configuration and found that we had the target configured incorrectly (we used a webhook instead of url target). Our Zendesk is in Dutch, so the names don't match 1-on-1 with the documentation.

But unfortunately, after fixing the target it still doesn't work, when I update a ticket in Zendesk I see this warning in the OpsGenie logs:

Screenshot 2021-12-10 at 14.29.22.png

Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 10, 2021

After testing, I believe the language might be the issue. I was able to change my ZD test instances language from English >> Dutch, and ran into the same error.

Transitioning the Zendesk ticket to Pending did move the Opsgenie alert to an Ack'd state as expected:

zdcomm5.jpg

 

But transitioning the Zendesk ticket to Closed did not close the Opsgenie alert, and gave me the same response error:

zdcomm3.jpg

 

While with a second test, English had no issue:

zdcomm4.jpg

 

So I believe this might be a limitation with the language at this time. I'll have to enter a ticket with engineering.

Alright, thanks for confirming that this is an issue. Unfortunately we can't just change the language setting of our ZenDesk instance.

Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 17, 2021

Try reaching out to Opsgenie support: https://support.atlassian.com/opsgenie/

They may have another workaround to help with this use case / language barrier.

I contacted support and the workaround is quite simple, in the trigger configuration we needed to hardcode the status value to 'Solved' instead of using a variable. Thanks for your help.

 

action: close ||
id: ticket.id ||
status: Solved ||
latest_comment : ticket.latest_comment_formatted ||
tags: ticket.tags ||
external_id: ticket.external_id

Like Nick H likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events