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

Opsgenie to Jira integration with Responders information

Vladyslav Kochin September 27, 2021
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
Atlassian Team members are employees working across the company in a wide variety of roles.
September 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.

Vladyslav Kochin September 28, 2021

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
AUG Leaders

Atlassian Community Events