Can I know which was the last transition launched in a issue usign JQL?

Begoña Bonet December 12, 2014

In my workflow I can reach the "Resolved" status by launchig "Solve"  or "Deny" transitions. I'd like to know which of these two transitions was launched to allow or not allow the next transition in the workflow.

Can I define a JQL to know that?

1 answer

0 votes
Peter Bengov
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.
December 12, 2014

Hi Begona,

It's possible if you make a small adjustment: configure the Solve button (transition) with a post-function that makes Resolution = Solved. Same for Deny button which will change the Resolution to Deny, as part of the post-function.

After that, it's just an simple JQL like

status = resolved and resolution = deny

Make sure the transition screen to each of these buttons doesn't have the Resolution field present (so user won't change it by mistake).

Hope it helps

Suggest an answer

Log in or Sign up to answer