Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax for JQL against JIRA to pull customfield based on the field name and not the ID

Edward Gutierrez
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!
February 13, 2019

Due to different CUSTOMFIELD_XXXX across different JIRA instances we need to pull data from JIRA for standard fields (e.g.,"summary") and by custom field names (e.g., Deployment Date) rather than customfield_xxxx)

Our ETL is Ab Initio using CALL API Service we use the following as an example :

'{"jql": "issuetype not in subTaskIssueTypes() AND issuetype != Epic AND issuetype!= Planview" , "startAt":',

in.index,

',"maxResults":1000, "fields":[ "summary","status","assignee","watches","priority","reporter","creator","created","customfield_11975"]}');

 

How can the JQL be changed to extract by "fields" name and Custom field name rather than customfield_xxxxx?

 

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2019

Hello,

The search rest api method will return custom fields only in the customfield_xxxx representation. You can not change it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events