My requirement is to be able to send a request externally with some options in the body of the request, and then go and modify one of the select options corresponding to issue
e.g
request url: {jiraurl}/rest/scriptrunner/latest/custom/setSingleSelectOptions
body { "issueKey": "issueKey1", "options":[ {"key": "key1","value":"value1"}, {"key": "key2","value":"value2"}, {"key": "key3","value":"value3"}, {"key": "key4","value":"value4"}, {"key": "key5","value":"value5"}, {"key": "key6","value":"value6"}, ] }
Change the list of options in the select options of a reset custom field on issue by making a request like this
Thanks
Hi @HAN RUI
Welcome to the community.
Do you want to change custom field select list options? I mean adding/removing options? Or do you want to set/clear value in issue?
I want to completely replace the options in the single select
For example
Original options: A,B,C
Changed options: D,E,F
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.