You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi I am trying to get the option available for the custom filed using this api
l = "https://your-domain.atlassian.com/rest/api/3/customField/customfield_10135/option
it returns the 404 error. I am following this document https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-rest-api-3-customfield-fieldid-option-put
I have the admin access. Can someone please help me in writing a api to retrieve the custom field options
@Yellalingh Margonda , use only the id of the field.. Like below:
"https://your-domain.atlassian.com/rest/api/3/customField/10135/option
Thanks for the reply
I have tries it, now I am getting 400 error. FYI i am using
https://yourdoami.com/rest/api/3/field
to get the field id
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using this
https://your-domain.atlassian.com/rest/api/3/customField/10135/option
request i am getting 400 error
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.
https://your-domain.atlassian.com/rest/api/3/customField/10135/option
returns 400 if the request is invalid
Can you perform the curl like below and check?
curl --request GET \ --url 'https://your-domain.atlassian.com/rest/api/3/customField/10135/option' \ --user 'email@example.com:' \ --header 'Accept: application/json'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using the same "
https://your-domain.atlassian.com/rest/api/3/customField/10135/option
" 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
https://yourdomain.com/rest/api/2/search?jql=project =XXX
Works as expected.
Can you please help me with the url format to get the options for the custom selection field.
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.