Can I know the use of a transition?

Marta Lopez Reyes _UOC_ March 8, 2024

Between 2 status I have different transitions (doing different things). How can I know the use of each transition?

 

Thanks!

2 answers

1 accepted

0 votes
Answer accepted
Christopher Maxwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 12, 2024

Hi @Marta Lopez Reyes _UOC_ ,

Unfortunately, out of the box, Jira JQL doesn't have a way to search transition names. A workaround (for future) is to modify your transition so that it also adds a label of some sort to a custom field - you can then run JQL on that label.

You could have a custom field labeled "Transition" and populate that with "OK TEST" or "Deploy to PRE".

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

Hi @Marta Lopez Reyes _UOC_ , while you can add a description to a Transition while editing the workflow that info is not presented outside of the editor to the best of my knowledge. Generally you try to name the transition such that the purpose is clear. Note that when using "All" (or "Any status" in TMP) the description can become vague.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

If I am missing your question please let me know.

Marta Lopez Reyes _UOC_ March 8, 2024

Hi Jack 

thanks for your response. Probably I haven't explain myself very well. I need a jql (for example) to help me doing a query tha shows list of issues that has use the transition "1245" the last year

Marta Lopez Reyes _UOC_ March 8, 2024

This is the way I know if I can delete some transition

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

Ah, ok. 🙂

So the exact solution depends on more details but here is an example to move us closer to your desired solution

status changed TO "in progress" after startOfYear()

if you have a dedicated transition from one status to another. It will be easier to zero in on that specific transition. However, if the transition is a "All" transition, then you don't know the from Status. However you can use something like below.

status changed from "to do" TO "in progress" after startOfYear()

if you can detail or specifically what you want I could assist a bit further.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

So your last comment is interesting and hints at your actual goal 'simplify and cleanup my workflows'. I believe that it certainly would be useful to assess the number of times an issue transitions from one status to another via a specific transition, however, ultimately discussing with the team how they use a workflow is the best practice.

Marta Lopez Reyes _UOC_ March 8, 2024

I give you amb example:

 

Status 1: deployed test 

Status 2: waiting for PRE

 

Transitions 1 to 2:

OK TEST
Deploy to PRE

... and more

I want to know wich trasition use the team, because bouth do the same (I dont' know why there are two transitions with same conditions, validations, postfuncions). I want to delete one.

Christopher Maxwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

Hi @Marta Lopez Reyes _UOC_ ,

Unfortunately, out of the box, Jira JQL doesn't have a way to search transition names. A workaround (for future) is to modify your transition so that it also adds a label of some sort to a custom field - you can then run JQL on that label.

You could have a custom field labeled "Transition" and populate that with "OK TEST" or "Deploy to PRE".

Like Marta Lopez Reyes _UOC_ likes this
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 9, 2024

agree with Christopher. I would add a post function to each transition to add a label. However this will not help you with historical issues only going forward. I guess I would have to question why you have multiple uniquely named transitions between two statuses.

Marta Lopez Reyes _UOC_ March 11, 2024

Probably too many admins is the reason...grrrr

Thanks for your replies!

Like Christopher Maxwell likes this
Christopher Maxwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 11, 2024

@Marta Lopez Reyes _UOC_  Makes sense...

By the way, if your question here is answered, would you please make it as answered ("accept answer" option). Doing so helps classify the question as being answered and will help others who are researching a similar topic.

Like Marta Lopez Reyes _UOC_ likes this
Marta Lopez Reyes _UOC_ March 12, 2024

Thanks for all your comments. I already use custom fields like  "reopen times" as a counter. I just needed to know if there were some function in jql to find it and the answer it seems it's NO!. Probably with eazybi I could find it. Thanks for all your comments!

Like Christopher Maxwell likes this
Marta Lopez Reyes _UOC_ March 12, 2024

@Christopher Maxwell  you answer my qüestion but you don't reply as a Answer and probably is why I can't say I accept your answer?

Like Christopher Maxwell likes this
Christopher Maxwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 12, 2024

Sure - I'll post as a new unthreaded comment.

Suggest an answer

Log in or Sign up to answer