Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events