add validation for status transitions of work packages