Forums

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

How do I query for Custom fields In JIRA

Garden16_ October 21, 2022

I would like to query for Custom fields in JIRA Admin and would like list all the custom fields . How would I do that in JIRA using JQL . I have script Rumer .   I need a list of custom fields and screens  for Jira clean up purposes . How would I get it in JIRA ?

2 answers

0 votes
Morgan DUBUISSON
Contributor
October 21, 2022

Good evening,

You can go through the JIRA API.

You can use different programming languages.

If you know a bit about coding, I can give you some clues

API JIRA SERVER : 

<your-site>/plugins/servlet/restbrowser#/

api/2/field

api/2/screens

0 votes
Florian Bonniec
Community Champion
October 21, 2022

Hi @Garden16_ 

 

You cannot do that using JQL as JQL return issues not fields.

But you can use the rest API to query this information or do SQL query using code with Scriptrunner.

Also note that if you upgrade to Data Center there is a custom fields optimiser feature to help you to do some cleaning.

 

Regards 

Garden16_ October 26, 2022

 SQL query using code with Scriptrunner. How do I do it 

Suggest an answer

Log in or Sign up to answer