I want to set up conditions in my workflow to force engineers to "Original Estimate" before pulling an issue into "In Progress" and "Log Work" before pulling it into the final status of "Accepted"
I have successfully created an easy rule that forces them to add an "Original Estimate" before pulling an issue into "In Progress" using this simple condition:
Where I am having issues is forcing someone to "Log Work" before pulling issues into "Accepted". I am using the same condition so I dont understand what my issue is, please see issue below.
Here is a screenshot of a test issue that I logged work but I am still unable to pull the issue into "Accepted"
Any help would be appreciated.
Hello everyone,
Thanks for reaching out to Community!
@Célestin Mansouri-Deveaux, I saw that you created a ticket with our support, and the issue was resolved as well.
I know it has been a while, but I would like to share some details here in case other community members face the same issue.
The resolution for Brett’s case was to add a Screen during the transition, to make sure it would only transition to another status if the “Log Work” was not empty.
When adding a Validator to a workflow, it’s necessary to add a Screen with the field you need to be filled, otherwise, the Validator will not work as expected.
For more details, please check the documentation below:
Kind regards,
Angélica
By using a transition Validator + custom screen, that screen is always shown, even if the issue already has some worklogs, and in the transition screen a work log must be inserted (even though 0 time can be used...).
This is a lot less than ideal !
If I only need a check of type "some time has been logged on the issue before transition is permitted", this is not currently possible. A transition condition of type "Value field" cannot be done against Time spent, and checking against "Log Work" (!= null type String) does not function.
Why isn't sum (Time spent) available as a field against which a condition can be built?
I've seen i referenced on this question, but for the love of God I cannot find it anywhere on a Software Development (Classic) type project in Jira Cloud...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Angélica Luz never mind, @Célestin Mansouri-Deveaux 's suggestion on this same question helped resolve it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
H Brett - Maybe I am missing something, but in your test card the value for Log Work (time tracking) is not null - it's 2h 15m. Which means it SHOULD be allowed to move to Accepted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yea, thats why I am stuck. I don't understand why it will not allow me to pull anything into accepted because I am logging work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cant set that field as a condition for whatever reason, but I have filled in the time tracking field/log work field every way I can think of with no success
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try Time spent? And if it won't let you, what does that mean? It doesn't show up on the list? It gives you an error?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I create a condition "Log Work" is the only time tracking field besides "Original Estimate" available to select in the drop down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tried logging time 3 seperate ways with no success, by using the "work log" option by the comments, i've filled in "time spent" and i've used "log work" in the drop down on a ticket that gives more options. All of these added to the "Time Tracking" field but none have allows me to pull the ticket into "accepted"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's very strange. However, one thing I notice is that you have > null. Maybe try putting in 0 for the value and not null. So > 0
If you do a filter for Key = LOD-67 and add the columns for Log Work, Time Spent, and Time Tracking. Do you see values in those?
And whichever one(s) you see a value for, I would try that field with the > 0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
I've tried >0 and >null, I cant use other values as Time Spent and Time tracking are not selectable fields for these conditions. The only option I have is Work Log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, any help would be appreciated as i need this rule in place to really be able to ensure dashboards are working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should probably go ahead and open a support ticket with Atlassian.
https://support.atlassian.com/contact/#/
Please post back here with the resolution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone!
I have the same problem as Brett.
Is this resolved or always in review for Atlassian?
This is a feature that I need too for my workflow.
Cordially
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@John Funk any feedback on that elevated ticket ?
I too cannot build a transition condition of type Value field on Time spent.
Building it against Log work does not work, no matter the condition configuration...
@Angélica Luz 's solution using a transition Validator + screen has a series of issues that renders it a non-usable...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stefan Anghel !
This is a bit tricky!
In the scrollbar, you can not select "Time spent" BUT you can type "Time spent" and you will see the value field.
Value is expressed in second.
Have a good day!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Célestin Mansouri-Deveaux thank you so much, that was it.
Now I have configured a condition on the transition using sum Time Spent > 0 as Number and it seems to behave as desired.
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.