"rest/api/3/issue/xxx/transitions"
when i use above api to transition my issue
i got an error
"
"
my params is
"
"
Could anyone tell me how to modify the params?
Did you ever figure this out? If not, I'll supply how I got it to work. Keep in mind that I'm firing this from within Jira's automation, but the JSON payload structure is basically the same.
{
"fields": {
"fixVersions": [
{"name" : "{{now.format("yyyy.MM")}}"}
]
}
}
We use a format of "yyyy.MM" to name our Releases, so this month's would be 2022.08. This worked for me.
In your example, if your Release version is named "1", your paylload would be
{
"transition": {
"id": "5"
},
"fields": {
"fixVersions": [{"name": "1"}]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.