Hello,
I am currently writing a script in script runner using the REST API.
The feature that i am implementing requires me to change the status of an issue.
Currently, the code looks like this:
def result = put("rest/api/3/issue/<My Issue>/transitions")
.header('Content-Type', 'application/json')
.body([
transition: [
id: '61'
]
])
.asString()When running the script, i get:
Method Not Allowed
I know that ID 61 is for me a valid status.
Any idea on what could be the problem?
Thank you and have a nice day!