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

Importing custom fields from Jira to OpsGenie

Horia Luta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2023


I'm trying to find a way to customize incidents' priorities in OpsGenie based on the information imported from Jira. The integration I've made doesn't seem to import the priority field from Jira so what I want to ask is, can I import custom fields from Jira? If yes, how?

2 answers

1 accepted

0 votes
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 21, 2023

Hi @Horia Luta ,

Yes, you can import custom fields from Jira, however, you shouldn't need to use a custom field, as you can map the Jira priorities directly to Opsgenie priorities. Here is an article with screenshots giving a few different methods for mapping Jira priorities to Opsgenie:

You can map custom fields using this format for the legacy Jira integration:

  • {{_payload.issue.fields.customfield_13154}}

And this format for the Jira cloud integration: 

  • {{customFields.customfield_00000}}

Here is a more in depth article on that subject:

0 votes
Rus Yates-Aylott May 8, 2024

If you apply the following to something like the Description field, it will display all the objects linked to the ticket:

  • {{_payload}}

You can then add objects in this way to capture what you wish:

  • {{_payload.customFields}}

This displays as something like this:
Description: {summary=Rus Alert Test, schema=ari:cloud:platform-services::jira-ugc-free/jira_issue_ugc_free_v1.json, components=[], creator={accountId=712020:74de31db-791e-4db7-b7ed-e69994a28b38, displayName=Rus Yates-Aylott}, resource=ari:cloud:jira:005b2917-803a-4a66-adbe-a8cdbea04be8:issue/321077, created=2024-05-08T13:14:55.930+0200, customFields={customfield_10090=[], customfield_11181={self=, value=Call2Teams GO, id=14276}, customfield_10094={languageCode=en, displayName=English}, customfield_10471=[], customfield_10472=[], customfield_10010={_links={jiraRest=, web=,... etc etc..

Now we can see we can add a customfield_id to our object:

  • {{_payload.customFields.customfield_11181}}

This might result in something like this: customfield_11181={self=, value=Call2Teams GO, id=14276

Because of the way in which this is structured, we need to specify the inner value so:

  • {{_payload.customFields.customfield_11181.value.value}}

And that, my friends, will produce the value of the custom field: In my example: Call2Teams GO

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events