GET Values ​​from custom field via JIRA REST API

I would like to GET all the drop-down options for a custom field. For system fields, I use the following URI:

http: // localhost: 8080 / rest / api / 2 / project / XXXX / components

(for components, versons, etc. Mostly system fields), so I tried the following for a custom field

http: // localhost: 8080 / rest / api / 2 / project / XXXX / customfield_10000

and got error 404. I'm not sure what I am doing wrong, as I have searched for searches in the last 19 hours. The best search result I got: JIRA Developer Documentation

Help, I'm not sure what I'm missing

+4
source share
1 answer

createmeta, editmeta REST.

editmeta, . .

GET /rest/api/2/issue/TEST-123/editmeta

createmeta, . .

GET /rest/api/2/issue/createmeta?projectKeys=MYPROJ&issuetypeNames=Bug&expand=projects.issuetypes.fields

:

"customfield_12345": {
  "schema": {
    "type": "string",
    "custom": "com.atlassian.jira.plugin.system.customfieldtypes:select",
    "customId": 12345
  },
  "name": "MySelectList",
  "allowedValues": [
    {
      "self": "http://jira.url/rest/api/2/customFieldOption/14387",
      "value": "Green",
      "id": "14387"
    },
    {
      "self": "http://jira.url/rest/api/2/customFieldOption/14384",
      "value": "Blue",
      "id": "14384"
    }
  ]
}
+6

All Articles