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,555,634
Community Members
 
Community Events
184
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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events