I read the forum topic about reassigning a task to a group when it was already taken by a user: taskService.assign(taskId, groupId)
But how can you know which groupId to use ?
Suppose the user that has currently taken the task belongs to two groups.
How do you know to which group this task belongs?
Is there a way to retrigger the assignment rules for the task or to figure out who were the originally assigned user(s)/group(s) for this task?
(fi. the user is ill and his workload needs to be reassigned back to the group so someone else can take over his tasks).
You assign it back to the group that was initially there by setting the assignment of the 'user' to null