Hi everybody,
I tried to change a status using scriptrunner and Post API... But return error.
My script is as
// }
def result2 = post("/rest/api/3/issue/${issue.key}/transitions")
.header('Content-Type', 'application/json')
.body(
transition: [
"id": newStatusId
]
)
.asString()
But It doesnt work.