Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using REST can not change status using transition after changing issuetype

Alexander Danilov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 24, 2022

It's related only to usage REST API

  1. The user creates a ticket from the web.
  2. I can get transitions for it
  3. I can also change issuetype for issue (for example from 'Support' to 'Bug')
  4. But now I can not get transition and can not move an issue to any other state

So, it's impossible to change 'status' field, need to use transitions and it works well. But after the change issuetype transitions list is empty because now the ticket status is related to the previous issuetype.

How can I now change the status? Or can I somehow change issuetype and status in one request?

 

1 answer

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2022

I think your issue types are configured to use different workflows.

Your REST call is failing to transition the issue after the issue type change because it's trying to use a transition that isn't in the workflow the issue is now using.  You'll need to read the workflow it is using to find out which transition it should be trying to trigger.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events