I want to check if the user has logged work against a sub-task when the task is closed. I added a workflow validator, to check time spent. The problem is it always gives a required field error even when I log time against the task. Any thoughts on how to make this work without using any plugins?
Validators are checked on the transition screen.
What you have to add is a condition in the workflow transition. Make it that time spent is not empty as the condition. And the transition will be shown only if an effort is logged. Otherwise it will be hidden
I've set up the same transition as @Nagendra Dattatreya ; However I'm always getting the failure even if time was logged prior to moving the issue to the next status. Does anyone have a solution for that which doesn't require writing groovy script to work around (what appears to be a bug)?
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events