-
Notifications
You must be signed in to change notification settings - Fork 9
assign
daltonserey edited this page Oct 4, 2016
·
2 revisions
Assign an activity to a user.
tst assign <user> [<name>] [--group <name>] [--unit <name>]
In its simples form, the command creates an assignment of the activity in the current directory, to user (the only mandatory argument). In this case, the server will set the group and unit of the assignment, based on an internal heuristic. The values will be displayed by the command, including the id of the assignment.
If group is given, the server will only check whether it is a valid one. No assignment can be created for a user in a group to which he doesn't belong. The unit, however, can be set freely.
The command can also be run outside an activity directory. In this case, it is necessary to add the --activity option with the appropriate activity name.