Description of problem: task query service method: getTasksByVariousFields does not make use of UserGroupCallback causing query not returning tasks that are assigned on group level. Version-Release number of selected component (if applicable): How reproducible: Use HR example from jbpm-playground and then use REST api to start and get list of tasks with following url: http://localhost:8080/kie-wb/rest/runtime/org.jbpm:HR:1.0/process/hiring/start http://localhost:8080/kie-wb/rest/task/query?potentialOwner=katy Steps to Reproduce: 1. 2. 3. Actual results: task list is empty Expected results: task list should contain task that are assigned to HR group where katy is member of that group Additional info:
fixed pushed to master and awaiting acks: https://github.com/droolsjbpm/jbpm/commit/94a6b2e5f03ef567a4c1f3d77dacc46d87f482d7
backported to 6.0.x branch: https://github.com/droolsjbpm/jbpm/commit/535d2d73bbd80c02852db5d488d0d789f916b0e4
Verified in BPMS 6.0.0.ER5