Jira rest api does not return Story Points

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?

createmeta only returns fields that are visible on the issue creation screen. And it will never return the Status field since you cannot set the Status of an issue (you can only transition issues between statuses).
You can use GET /rest/api/2/issue/{issueIdOrKey}/editmeta to get the fields that are on the Edit screen, or GET /rest/api/2/field to get all fields and GET /rest/api/2/field/{fieldId}/contexts to see the “contexts” a field is configured for.

2 Likes