How to add options to aui-select via JavaScript

Timothy Jackson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2018

I have spend days researching how to create a custom field of type select and be able to add in the options.  I can create the json as such:

{
  "name": "My custom select list",
  "description": "Simple select list with some dropdown options",
  "type": "com.atlassian.jira.plugin.system.customfieldtypes:select"
}

using  /rest/api/2/field

but I have not found a way to enter the list of options. Certainly this can be done as part of this json.

0 answers

Suggest an answer

Log in or Sign up to answer