Hi,
I want to add/edit the options of a cascading field, via a plug-in I am making. I’ve read that its not possible to use Jira REST endpoints to edit options in Custom Fields. So I need to use “Issue Fields”, that are declared in the atlassian-connect descriptor (I am distinguishing these from the Custom Fields). Link about Issue Fields.
So, my question is: how do I declare a Cascading “Issue Field” if the only ‘string’ options available are these?
- string
- STRING
- text
- TEXT
- single_select
- SINGLE_SELECT
- multi_select
- MULTI_SELECT
- number
- NUMBER
I’ve tried doing “GET /rest/api/2/field/{fieldKey}/option” on Custom Fields (either cascading or not), but it retrieves an error. The only way I got to single list options is by doing “GET createmeta?expand=projects.issuetypes.fields”. However this retrieves for ALL the fields AND doesn’t solve my problem of wanting to add/edit the options.
Please Help! Thank you!
Pedro