Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

options for custom field using API

Hi I am trying to get the option available for the custom filed using this api

l = "

it returns the 404 error. I am following this document 

I have the admin access. Can someone please help me in writing a api to retrieve the custom field options 


1 answer

0 votes
Fazila Ashraf Community Leader Sep 08, 2020

@Yellalingh Margonda  , use only the id of the field.. Like below:



Thanks for the reply 

I have tries it, now I am getting 400 error. FYI i am using

to get the field id 

Fazila Ashraf Community Leader Sep 08, 2020

@Yellalingh Margonda  , so i take that the first suggestion worked and now you are looking at another call.


Error 400 means bad request.

are you making GET request?

Hi @Fazila Ashraf 


Using this 

request i am getting 400 error

@Fazila Ashraf  


Can you please help me

Fazila Ashraf Community Leader Sep 09, 2020

 returns 400 if the request is invalid

Can you perform the curl like below and check?

curl --request GET \
  --url '' \
  --user '' \
  --header 'Accept: application/json'

Hi @Fazila Ashraf 


I am using the same " 

" in python, its throwing 400 error. I believe there is something wrong in the request url as I have written other api calls i.e =XXX

Works as expected. 


Can you please help me with the url format to get the options for the custom selection field.  

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

76 views 0 1
Read article

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