Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


REST API cannot get customfiled options

Have a customfield with any type, which is used for sprint or epic. 

1.I tried to get the info using createissue api. but those custom fields returned without allowedValues. 


2. I also tried to get the options through the field context. But it returns 400 for the response. 

     a. I first tried to get the context id through                `rest/api/3/field/customfield_10014/contexts`,

it returns `


  maxResults: 50,

  startAt: 0,

  total: 1,

  isLast: true,

  values: [


      id: '10114',

      name: 'Default Configuration Scheme for Epic Link',

      description: 'Default configuration scheme generated by Jira',

      isGlobalContext: true,

      isAnyIssueType: true





I suppost `10114` is the context id I used that for the context api call the context option api call. it returns `400` error.

I also tried the jql api, but turns out to be it always return a issue, instead of the field options. 


How can I get the list of options for the customfield? 


1 answer

For epic and sprint, Jira has agile server API to get the options.{boardId}/epic-getEpics


Have no idea why those 2 fields are included in the custom field. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events