It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to change an issue of phase in the workflow of the project?

Hello everybody,


I'm trying to integrate the execution of my jenkins pipeline with a kanban project destined to have a changes control monitoring, i need to put a issue in the initial workflow phase when the execution of my jenkins pipeline starts, then if the execution was success, i need to move the issue related to the deploy to another worklfow phase, which is "deployment" and need put and valid state like success or failure.

Currently, i'm working with the REST API for JIRA and i achieved to create the issue, but i don't know what can use for move the issue for another workflow phase, can anybody give me some idea?


Thank you a lot your help! :)

1 answer

0 votes
Andy Heinzer Atlassian Team Oct 08, 2018

Are you looking to transition an issue via REST into a new state (for example, change the issue status from something like 'to do' into some other status, like 'in progress')?   If so, then you can do this via the rest call POST /rest/api/2/issue/{issueIdOrKey}/transitions

However perhaps I am misunderstanding your request here.  If you are looking to change what kinds of workflow the Jira issue is using, this is something that would only happen if you were able to move the issue to a different issue type.  (You can edit the issue type of issues in Jira, but only if the issue types in the same project are configured to use the same workflow.  Hence if you want to change what workflow that single issue is using, you need to move the issue to a different issue type that has the workflow you want.)  You can also change the project an issue exists in with the move function.  But the problem with this approach is that you cannot currently move issues in Jira via the REST API.  There is a feature request for this ability via the REST API over in

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Early Access: If you use Jenkins and Jira Software Cloud, you need to read this!

The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...

2,379 views 3 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you