Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to use rest endpoints to change the options of a issue select options?

HAN RUI
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!
June 26, 2024

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events