API access on custom field options.

Santosh Bhosale
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!
June 24, 2024

Hi,

I am trying to build integration with Jira cloud, while exploring the Jira APIs, I observed, we don't have  read access on few APIs endpoints. (e.g. /rest/api/2/field/{Custom field ID}/context), ({Base URL}/rest/api/2/field/{customfield ID}/context/contextID/option)

Is there any policy from Atlassian to restrict to read data using above APIs, apart form the Admin user?

Please note we are looking only for Read only access.

Thanks.

1 answer

0 votes
Gip June 25, 2024

Hi @Santosh Bhosale - You should be able to do a GET API call for a custom field context. You might want to try using the latest API beta version (V3) though as that seems to work for me when I try it:

https://{base_url}/rest/api/3/field/customfield_{id}/context

Link to the REST API doc: belowhttps://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts/#api-rest-api-3-field-fieldid-context-get

Suggest an answer

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

Atlassian Community Events