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".
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I am missing your question please let me know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Probably too many admins is the reason...grrrr
Thanks for your replies!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure - I'll post as a new unthreaded comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.