There is a custom field and I wanted to get allowed values, this field is not available in editmeta
{
"id": "customfield_11600",
"name": "RMA",
"custom": true,
"orderable": true,
"navigable": true,
"searchable": true,
"clauseNames": [
"cf[11600]",
"RMA"
],
"schema": {
"type": "option",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:select",
"customId": 11600
}
}
but when I hit
https://host/rest/api/2/customField/11600/option
getting a 404 error what could be the reason
Saw this in the API doc notes
GET /rest/api/3/customField/{fieldId}/option
Returns a paginated list of options and, where the custom select field is of the type Select List (cascading), cascading options for custom select fields. Cascading options are included in the item count when determining pagination. Only options from the global context are returned.
Note that this operation only works for issue field select list options created in Jira or using operations from the Issue custom field options resource, it cannot be used with issue field select list options created by Connect apps.
Not positive is your customfield_11600 came from a connect app or if you created it. I also test rest/api/2 & 3 and for both versions it worked on custom fields I created. I dont have any from connect apps to test against.
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.