Hi,
In my team some members log their work precisely in other hand few members miss to log their work. So I added a field required validator to "In-progress > Done" transition. But now I am facing an unexpected issue. As I said some of team members log their work in a daily basis even though the task is in the "In-progress" status. These guys completely log all of their work in to the task when the task is in the "In-progress" status and when the task is finished, they just have to move the task from the "In-progress" status to "Done" status. (At that point they have logged the entire work they have spent to the task). But when they try to do the transition, they are again asked to enter the work because of my validator. Is there a way to validate "Only if the work log field is empty during this transition, the user is asked to log work"?
Cheers,
Hansi
Hello,
You can not do it out of the box. You would need an add-on for it.
For example, you could use the Power Scripts add-on:
With this add-on you could write a validator with a code like this:
number[] work = getWorklogIdsForUser(currentUser()
,key);
if (size(work) > 0) {
return true;
} else {
return false;
}
If a user logged work for this issue, the validator will let the user transition this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.