-1
Boa Tarde Personal,
I’m trying to effect the transition of a Jira by calling a Jira endpoint. Researching, I discovered here that the endpoint would be:
POST /rest/api/2/issue/{issueIdOrKey}/transitions
As informed, the method to make this Jira status transition would be POST.
My question is to know what the content of the request is. What should I put on the body?
I tried that:
{
"transition": {
"id": "11"
}
}
But it didn’t work. Postman reported:
415Unsupported Media Type
Note that I am using the id = 11
, regarding status Work on it
.
I also noticed that this same endpoint is used for the GET method (to recover all available transitions) and for the POST method (to make a certain transition from a Jira).
Could you help me?