It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira REST API error code 404

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 

 

1 answer

This is probably a field with no options like a text field or something

What are you trying to accomplish anyway?

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

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

No luck.

same error with select list type also.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

342 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you