How to find the ID of a field in Jira for Jira Align integration
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
When configuring the Jira Connector for Jira Align, field mapping under Jira Align's Admin > Jira Settings > Jira Setup may require verifying a Jira field's ID.
This article provides both UI and API methods to locate the ID of a field in Jira.
Solution
Jira UI
In a Jira project, click on Project Settings
Click on Fields
Find the field
Hover over Screens link
Wait and then check the URL preview at the bottom of the web browser for the fieldID. Example:
NOTE: If you cannot field the field in the UI, you may need to toggle on the 'Show Locked Fields' setting under Project Settings > Fields.
Jira API
The same information can be retrieved through the API call to Jira, where all the fields present on the instance will be retrieved. The API would be a GET call, that can be done on the browser or using Postman/cURL using the endpoint:
https://<jira-url>/rest/api/latest/field
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"id": "fixVersions",
"key": "fixVersions",
"name": "Fix versions",
"custom": false,
"orderable": true,
"navigable": true,
"searchable": true,
"clauseNames":
[
"fixVersion"
],
"schema":
{
"type": "array",
"items": "version",
"system": "fixVersions"
}
},
{
"id": "customfield_10077",
"key": "customfield_10077",
"name": "Approver groups",
"untranslatedName": "Approver groups",
"custom": true,
"orderable": true,
"navigable": true,
"searchable": true,
"clauseNames":
[
"Approver groups",
"Approver groups[Group Picker (multiple groups)]",
"cf[10077]"
],
"schema":
{
"type": "array",
"items": "group",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker",
"customId": 10077
}
},
NOTE: To filter fields for a specific project and issue type:
https://<jira-url>/rest/api/2/issue/createmeta?expand=projects.issuetypes.fields&projectKeys=<jira-project-key>
replace <jira-project-key> with the actual Jira Project key
Was this helpful?