I added a field in project settings' issue types page and want to get the item by JIRA REST API.
I tried these APIs but didn't find the field I added.
https://my-domain.atlassian.net/rest/api/3/field
https://my-domain.atlassian.net/rest/api/3/field/1/context
https://my-domain.atlassian.net/rest/api/3/issuetype
Where can I get it?
Hi @Seikyo Cho ,
in case you do not have it, here is the link to the Jira cloud rest api documentation:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#version
According to it (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-group-issue-fields)
/rest/api/3/field
will give you all the fields - including the custom field you are trying to get.
This will show you the customfield ID, which you will need to get results for this specific field.
Something like customfield_10101.
An easier way to get the customfield ID is via the field configuration. If you edit a field's configuration the URL ends with something like this: ?ID=10101
That's the field's ID you can then use in your api call.
Thank you.
I tried SP filed but didn't find it in /rest/api/3/field. However I changed to another name Test Field then found it there.
If I want to get the special custom field in one project, is there a way to set project id with field API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.