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

jira.cherwell 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

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

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