public void assignTask ( int taskId , int responsible ) { getResourceFactory ( ) . getApiResource ( "/task/" + taskId + "/assign" ) . entity ( new AssignValue ( responsible ) , MediaType . APPLICATION_JSON_TYPE ) . post ( ) ; }
Assigns the task to another user . This makes the user responsible for the task and its completion .