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
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?
For epic and sprint, Jira has agile server API to get the options.
Have no idea why those 2 fields are included in the custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.