I have one workflow now i want that when it will go to from Development status to Testing Phase it should ask for Work Log, without worklog it should not allow users to do the transition go to the next step?
Add 'Time Tracking' field to your screens and add a 'Field Rquired' validator in the workflow transition for 'timespent' field.
The validator is available via the JIRA Suite utilities plugin!
Thanks a lot sir its working fine.:):)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have 'Time Tracking' field added to all screen (create, edit and view) and I added 'Field required' validator for Time Spent field, but it doesn't work. It throws me an error message saying (even I log work before executing the transition):
Workflow Error
Time Spent is required.
It seems that you have tried to perform an illegal workflow operation.
If you think this message is wrong, please contact your JIRA administrators.
Do you have an idea what is wrong? We have JIRA 4.4.5.
Thank You
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Daniel Stava, have you had any answer to your problem with the Workflow Error? I'm having the same problem. It looks like its a bug from JIRA Suite Utilities Plugin, but I'm still not sure.
If you have an alternate path for that issue, please share.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the trick is, that you have to assign screen with "Log work" field to a transition and add "Fields required" validator for "Time Spent" field.
In my case, i've created "Log Work Screen", where is only "Log Work" field and I assign the screen to a transition, where I've set validator for "Time Spent".
Did this help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Daniel, I assume that solution won't work if the users logged work before getting to that screen.
My scenario is: an user is assigned to an issue, log work every day on the issue, and when the user close the issue we want JIRA to validate if the user logged work on the issue as he was supposed to do.
So, logging work when closing the issue will not be a solution for me.
Any other ideas are welcome.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found a solution!
I used the built-in script validator from Script Runner and the condition "issue.timeSpent".
Now, JIRA doesn't allow closing the issue without work logged on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works for me now, add Time Tracking field, and a validator for Time Spent. But you have to check the tiny Log Work checkbox to see the time-related fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Daniel Stava, have you had any answer to your problem with the Workflow Error? I'm having the same problem. It looks like its a bug from JIRA Suite Utilities Plugin, but I'm still not sure.
If you have an alternate path for that issue, please share.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you manage to do it? I'm looking for the same thing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We're getting the same issue that Daniel Stava is. Wish someone could find a work around for the cloud service edition.
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.