Hi,
I am system admin of my Jira server and have access to all the custom fields.
I am trying to run following rest api in browser
https://xxxx.xxx.xx/rest/api/2/customFieldOption/10981
But I get following error
{"errorMessages":["A custom field option with id '10981' does not exist"],"errors":{}}
What wrong am I doing?
I am able to explore same field from Jira Admin GUI. but REST API does not work.
following API works fine and gives me all the list of custom fields and in the list field id 10981 is also listed with details. It means I do have access.
https://xxxx.xxx.xx/rest/api/latest/customFields?maxResults=1000
This is probably a field with no options like a text field or something
What are you trying to accomplish anyway?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your response.
I just want to know what is the result of this api command. that is it. But it is failing every time.
I have tried with number type field also. But it fails.
I dont understand when you say "field with no option"
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are no actual options for these fields and the data is usually entered during ticket creation. Same thing with number field as well.
Try a select list, you will get the result
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.