taskjuggler / TaskJuggler

TaskJuggler - Project Management beyond Gantt chart drawing
http://www.taskjuggler.org
GNU General Public License v2.0
733 stars 170 forks source link

Roles for workers. #281

Open andre-caldas opened 2 years ago

andre-caldas commented 2 years ago

This is a feature request / suggestion. I could not figure how to tag the "Feature Label".

Suppose I have lots of different workers who can do certain kinds of job (play a role). I would like to assign tasks like this:

task break_the_wall {
  depends !build_the_wall
  effort 2d
  assignrole wall_breaker 2
}

The system would choose two "wall breakers" to... Break the Wall!!! :-)

For each human resource, I'd like to state his/her abilities:

resource "John Mason" {
  [...]
  role mason 100
  role wall_breaker 100
  # Cannot really pain. Last resource!
  role painter 10
}

resource "Mark Layer" {
  [...]
  role ceramic_layer 100
  role mason 90
  role wall_breaker 70
  # Cannot really pain. Last resource! Paints a little better than John Mason.
  role painter 15
}

resource "Fran Painter" {
  [...]
  role painter 100
  role ceramic_layer 20
  role wall_breaker 50
}
andre-caldas commented 2 years ago

For each resource, we could have efficiency and other settings per role. The manual says about efficiency:

Again, this is a fairly crude mechanism and should be used with care. A resource that isn't very good at some task might be pretty good at another. This can't be taken into account as the resource efficiency can only be set globally for all tasks.