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 for Jira Versions >= 9.0.0

Zaid
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!
December 22, 2022

Hi Team,

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

 

Regards.

1 answer

1 accepted

0 votes
Answer accepted
Mohamed Benziane
Community Champion
December 23, 2022

Hi,

Welcome to the community.

You can achieve this by using two API

 /rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes

This one will get you all issuetype in your project

then use this one to get all the field for the issuetype

/rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}

 https://docs.atlassian.com/software/jira/docs/api/REST/9.3.0/#api/2/issue-getCreateIssueMetaProjectIssueTypes

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events