Progressing an issue in workflow

This is something everyone wants to do when JIRA is integrated with third-party applications. The status of an issue needs to be changed for various use cases and the right way to do this is to progress the issue through its workflow.

Progressing will move the issue to the appropriate statuses and will fire the appropriate post functions and events. In this recipe, we will see how to do this.

Getting ready

As usual, create a JIRA REST client as mentioned in the Writing Java client for REST API recipe.

How to do it...

JRJC exposes the transition method inside the IssueRestClient to progress an issue through its workflow. The following are the steps to do it:

  1. Identify the list of transitions available for the issue:
          ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.