I have to get all the options of the particular custom field which has the field type single list single choice. So that I used bellow API call in order to get the result
https://your-domain.atlassian.net/rest/api/3/field/{fieldKey}/option
$(app-key) = jira-Test-int
$(field-key) = customfield_10032
FieldKey = jira-Test-int__customfield_10032
https://equalizer.atlassian.net/rest/api/3/field/jira-Test-int__10032/option
When I execute this API call, I receive an error: `"Field key 'jira-Test-int__customfield_10032' is not valid"`
Is there any other format that should be followed when creating the field key?
Hi Gihan,
This endpoint that you are using is for those who are using connector to create an app.
Please, check this post where our product manager gives more details about the endpoint.
Can you give us more details about the information that you need to get? What is the desired outcome?
Regards,
Angélica
Thank @Angélica Luz for the quick response.
As per that post you mentioned, I was able to catch up a point which is regarding the field key and being retrieved custom field options via the public REST API provided by Atlassian.
So far, The REST API doesn't allow that call for custom fields and it's only possible for issue field which has been created by the Atlassian connector descriptor by manually.
I saw that there is ACJIRA issue with this feature request.
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.