Jira rest api does not return Story Points

volkovich
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 6, 2020

Hi,

I wanna get list of fields for specific issue type from specific project. To do that I am using

/rest/api/3/issue/createmeta?expand=projects.issuetypes.fields

It returns most of the fields for the issue type but for some reason does not return "Story Points" and "Status" fields. Could you please explain why so or how can I get full list of fields for specific issue type?

 

1 answer

0 votes
Thomas Magny-Garcia
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 6, 2020

Hi @volkovich ,

Maybe the "Status" field is not reachable this way. According to the doc (https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-project-projectIdOrKey-statuses-get), to get all statuses you should use


GET /rest/api/3/project/{projectIdOrKey}/statuses

 It may be the same for story points, another location to look for ?

Hope it helps!

Samrat Dutta May 23, 2023

@Thomas Magny-Garcia The question is if we do not have status field in createmeta API response, how do we know if it is indeed there in Create Issue screen since fields can be removed from screens?
How to retrieve the available status is a question that follows.

Suggest an answer

Log in or Sign up to answer