Hi all,
I am trying to resolve an issue via the REST API but I keep getting the following error:
Could not find valid 'id' or 'name' in resolution object.
I have used the API to fetch all valid resolutions before-hand so I know I am passing in the correct resolution. I have tried both Name and ID - still get the same error.
The JSON I am sending is:
{
"fields": {
"resolution": "Done"
},
"transition": {
"id": "801"
}
}Using the following URL:
https://xxx.atlassian.net/rest/api/2/issue/TICKET-10163/transitions
I did read that the resolution field would have to be on the edit form for this to work, but having added it I still get the same error.
Has anyone else experienced this?
Thanks.