Is there any JQL command (from Atlassian or 3rd party plugin) to query an issue previous status? I need to check all issues whose last transition was from status B (previous) to A (current).
Currenly JQL support:
status CHANGED FROM "B" TO "A"
but I need the last transition only, and the above can return any transition in the issues history.
Thanks in advance,
Another idea would be to use a scripted field which would show the last status (see Hennings answer how to get that) and then search for that one.
"Last Status" ~ "B" and status = "A"
Thanks, this is a good approach.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not aware of such a JQL function. The closest you can currently get is
status CHANGED FROM "B" TO "A" and status = A
optionally add
and not status changed from "C" to "A"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
status CHANGED FROM "B" TO "A" and status = A
and not status changed from "C" to "A"
adding above both rows don't return any result. Ideally it should return the result set.
currently using following lines
AND STATUS CHANGED FROM "B" TO "A"
AND STATUS WAS NOT IN ("C","D","E")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.