Dan Wager wrote:Is there a way to make the handler of a task be the person who is logged in? We are having problems with users forgetting to change the handler when adding a task.
quentin_bc wrote:Can you please indicate either:
a) whether it is possible to change the handler of the parent task an if so how.
quentin_bc wrote:b) where I can find out how to "implement any custom logic"
We're in a situation where an sysadmin person may have created the parent task for the owner of the parent task but we would want the owner of the parent task to be the default handler.
We would also not like the submitter to be able to change the default handler when the task is first created (ie on submission) but that person should be allowed to change the handler in any of the subsequent state transitions. Is this possible?
quentin_bc wrote:I have done that but I still see "gatekeeper" and those users with status "gatekeeper" in the Handler drop-down list.
quentin_bc wrote:I don't have a user "gatekeeper". "gatekeeper" is a status that is used just as a label. The idea is that each week different developers can be assigned the status "gatekeeper".
I think a script is the only way.
task.setHandlerUserId(null);
task.setHandlerGroupId(CSVImport.findUserStatusIdByName("gatekeeper"));
return task;
Users browsing this forum: No registered users and 0 guests