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,300,170
Community Members
 
Community Events
165
Community Groups

Opsgenie to Jira integration with Responders information

Hi,
I have Opsgenie to Jira integration.
It works fine with the Opsgenie summary and description fields, but I can't find a way to extend the Jira tickets with other Opsgenie fields. For example, the Responders field.
I want to populate Jira custom field with responder information through integration or maybe other automation approaches.
I found out in Opsgenie logs that I don't have this field in the payload.
Payload which I see in logs
{
  "_outgoingData": {
    "_headers": {
      "-Content-Type": [
        "application/json;charset=UTF-8"
      ],
      "-Authorization": [
        "Basic key"
      ]
    },
    "integrationType": "JiraServiceDesk",
    "_payload": {
      "_fields": {
        "summary": "The alert summary",
        "-labels": [
          "label"
        ],
        "_project": {
          "key": "Some key"
        },
        "_issuetype": {
          "name": "Incident"
        },
        "description": "The alert description"
      }
    },
    "integrationName": "Jira Service Management"
  },
  "alertLogOwner": "System",
  "alertId": "some alert id",
  "alertLogType": "system"
}
Do I have any way to add the Opsgenie responders field content to the Jira ticket?
Thank you

1 answer

1 accepted

2 votes
Answer accepted
Nick H Atlassian Team Sep 28, 2021

Hi @Vladyslav Kochin ,

The only two Opsgenie alert fields that are sent to Jira out of the box are the alert's Message and Description. The Opsgenie alert's Message maps to the Jira issue's Summary, and the Opsgenie alert's Description maps to the Jira issue's Description.

So what you could do is configure an Alert Policy to add the responders into the Description of each alert. Alert Policies are used to modify alerts like increase the priority, add a tag, or in your case parse the responders into a field sending to Jira.

https://support.atlassian.com/opsgenie/docs/create-and-manage-global-alert-policies/

That policy might look something like this:

alertpol1.jpgalertpol2.jpg

 

And when the policy triggers, it'd look something like this on the Opsgenie + Jira side:

alertpol3.jpgalertpol4.jpg

 

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

Hi @Nick H, I think this is what I searching for. This approach definitely would work for me, thank you.

Like Nick H likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

68 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