Can't transition issue using REST API Edited

Hi all,


I'm currently attempting to set a ticket to More Information via the REST API. I've made a call to 



to get the available issues, and the one I want in particular seems to be this one:

"expand": "transitions",
"transitions": [
"id": "111",
"name": "More Info",
"to": {
"self": "",
"description": "",
"iconUrl": "",
"name": "More information",
"id": "10005",
"statusCategory": {
"self": "",
"id": 4,
"key": "indeterminate",
"colorName": "yellow",
"name": "In Progress"
"fields": {
"assignee": {
"required": false,
"schema": {
"type": "user",
"system": "assignee"
"name": "Assignee",
"autoCompleteUrl": "",
"operations": [


If I'm correct, I'm using the id of 111 to try and set my ticket to the status that I want it to be. My code looks as follows:


tickets.moreInfo = function(key) {
var transitionUrl = '';
var transitionData = {
"transition": {
"id": "111"
transitionData = JSON.stringify(transitionData);

type: 'POST',
url: transitionUrl,
data: transitionData,
contentType: 'application/json',
dataType: 'json'


No matter what, I'm always returned with either a 400 or 500 error. I've tried both the IDs 111 and 10005. Any thoughts? Am I doing something obviously stupid? Thanks!

1 answer

Log/inspect the actual response body of the request, if it's 400 or 500 there should be more detailed info regarding the error there.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,323 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot