jira rest api: Steps/transitions from workflows

David Flamme March 2, 2015

Hello,


I have trouble retrieving possible transitions of a workflow.
In general I'd expect to have an API with /rest/api/2/workflow/{workflowID}/transitions and /rest/api/2/workflow/{workflowID}/states, as it would fit into the rest of the API.
So, ok, this doesn't exist and you have the structure /.../workflow/{id}/properties where id is a step/transition ID and, while you can't know any step IDs by calling /.../workflow in any way, you need to know it to get its properties. Don't know if anyone ever put this interface to use.

The possible transitions of an issue (/rest/api/2/issue/{issueIdOrKey}/transitions) don't help much, when your goal in the workflow is further away then one step.

 

It's possible to retrieve a detailed description of a workflow by exporting it to XML. While its some kind of solution, its far from a good solution to this problem, when you have a REST interface in the first place.

 

So, am I missing something very important here?

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
AM April 28, 2015

I have the same issue when trying to access /rest/api/2/workflow/<workflow id>/transitions I am getting a 404 on JIRA 6.3.11

0 votes
David Flamme March 24, 2015

Hello,

so, do I get a hint, if I'm missing something or a "Won't fix" or maybe a date when I can expect an implementation of that usecase from someone responsible?

I'm happy with every answer, but some kind of answer would be nice.

Cheers

   David

pelizza
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.
August 2, 2016

Hey @David Flamme,

Did you solved this problem? I'm stuck exactly at this point right now sad

David Flamme August 15, 2016

Well, eventually I implemented the workflow graph analysation on my own.

0 votes
Lido M March 9, 2015

I have the same needs here!

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events