Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL to Identify when the same user transitioned from In Progress to Done

Jarrod Retzloff July 12, 2018

Is it possible to identify when the same user transitions through multiple steps within a workflow?  For instance if the work flow has a progress of todo -> in progress -> testing -> done.  I would like to know if the same user transitioned the issue from "in progress" to "testing" to "done"; which would break our workflow.

 

Thanks in advance.

2 answers

0 votes
Philipp Tauber July 13, 2018

If you have Scriptrunner installed you should be able to make an condition so it is not possible for the same person to transtion to the next step if he transtioned the last one.

Jarrod Retzloff July 13, 2018

Thanks @Philipp Tauber, Do you know if it would also be possible with Script Runner to execute a condition on a JQL result?  i.e. Referring to @Bastian Stehmann solution and then execute a condition on the result to provide only those issues where it was the same user who transitioned the status?

Philipp Tauber July 16, 2018

My initial thought was to restrict that action entirly.

So you wouldn't have to look for issues where it has happened.

 

But you want to search for such issues and then....?

Jarrod Retzloff July 16, 2018

@Philipp Tauber that is a fair question.  Is it easier to block the same person from transitioning?

Philipp Tauber July 18, 2018

For me that yould be the solution.

Instead of me having to look for people who break the rules i yould just not allow anyone to do the transition.

Jarrod Retzloff July 18, 2018

@Philipp Tauber Thank you for your response.  However the functionality to block a user who transition to the current state from transitioning to the next state does not seem to natively exist in JIRA (condition to transition).  If I am in correct or this could be done another way, I would appreciate any insight.

0 votes
Bastian Stehmann
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 12, 2018

Hi @Jarrod_Retzloff,

never tried that before, but maybe the changed-Operator might help:

https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-operators-reference-764478341.html

for example something like this (I did not test this)

status CHANGED FROM "Open" TO "In Progress" by USERNAME and status CHANGED FROM "In Progress" TO "Done" by USERNAME
Jarrod Retzloff July 13, 2018

Thanks @Bastian Stehmann, I appreciate it.  I think this is a good first step, however it seems like I would still need a condition to be applied to flag issues where it was indeed the same user.  Ideally, only issues where it was the same user would be returned.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events