Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to filter issues that used a specific transition using JQL

Elie August 6, 2018

I made a Workflow and at some point i needed to make 3 transitions between the same two statuses.

Now i want to filter the issues by specific transition

Please Help

4 answers

1 vote
bede
Contributor
November 3, 2021

As a workaroud, I guess you could add a custom field "TransitionsUsed" (don't add to any screens) and capture the transitions used. In each transitions you're interested in monitoring, append the transition name to the "TransitionsUsed" field. 

 

More practically, I think it'll be better to look into server log digesting, using the transition IDs as the thing to report on. 

 

Cheers,

Ben

0 votes
Catherine.dicaire September 9, 2021

Did you get an answer for this? I'm looking for this too.

Elie September 10, 2021

No, unfortunately I didn't get an answer

0 votes
Susan Wilson May 4, 2020

I know this is an older question and I wish I had the answer.  Instead, I have a similar requirement where I need to query the Transition, not the resulting Status.  Was there ever an answer to this question?

Elie May 4, 2020

No, unfortunately I didn't get an answer

Silviya Markova June 26, 2020

Do you have already any solution for the case or a workaround?

Elie July 23, 2020

No, There seems no answer to this problem

Raynard Rhodes
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.
July 24, 2020

The closest thing you can do is use the status changed from STATUS to OTHERSTATUS. There is generally only one transition between two statuses.

Like Hrobky likes this
Elie July 24, 2020

Thank you Raynard for your reply.

However in my case i am obliged to make 2 different transitions between the same to statuses so the "Status changed from status to other status" won't work in this case as it will give me all transitions made between those 2 statuses.

I'm searching for a way to filter by specific transition.

0 votes
Chris Koroliov August 6, 2018

Hi Elie and welcome to the community :)

 

I hope I understood your final goal - you are trying to create a workflow in which when transitioning to the next status (from the status that you are currently in) - the transition will be according to previous transitions.

I believe the best way to receive what you are trying to do is simply use different statuses to maintain order as your workflow develops.

But if you insist on using the same statuses, you can try using conditions, triggers and post-functions for the next transitions you're creating, specifically this condition:

image.png

Elie August 6, 2018

No, I created the workflow and linked 2 statuses with 3 different transitions (A, B & C)

I need a way to filter the issues that used for example transation A instead of B or C

Raynard Rhodes
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 6, 2018

What are the conditions of the issues? Can you screenshot your WF to demonstrate?

Elie August 8, 2018

I don't have a problem with creating the workflow

I created it and it's working fine

But for reporting purposes, I need to filter the issues that transitioned from a specific status to another specific status using a specific transition. My question is: is there a way to filter the issues using JQL?

Raynard Rhodes
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 8, 2018

I don't think there is a way to identify transitions. I am looking to see if there is a way to identify the property of a transition, but this seems fruitless.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events