Forums

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

REST API to get all list of fields for a specific project

jira.cherwell
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!
March 26, 2018

Hi Team,

Is there any REST API to get all list of fields for the specific project or is there any alternative way available for getting all list of fields. 

 

Regards.

 

1 answer

8 votes
mschonarthatlassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2018 edited

Hello, Cherwell

If I understood your request correctly, you want to get all the fields for a project using REST API.

You can get all fields on your Jira instance by this request: GET /rest/api/2/field

Retrieving all the fields for a specific project is not possible directly but this is a workaround that might be useful for you. You can get all the fields available on the creation screen for all issue types in a project by this request:

GET rest/api/2/issue/createmeta?projectKeys=KEY&expand=projects.issuetypes.fields

I’d recommend checking out our REST API documentation under Issue for further information about this topic.

Please, be sure to get back at us if you have more questions.

Cheers!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events