tasks: an open task can be blocked directly (deferred before anyone starts it)
This commit is contained in:
1 parent
e0b9a82e7a
commit
d7464aaa40
1 file changed
+1
-1
+1
-1
@@ -10,7 +10,7 @@ from .util import (PRIORITY_NAMES, HarborError, first_line, iso, parse_iso, pars
|
||||
TASK_STATES = ("open", "in_progress", "blocked", "review", "done", "cancelled")
|
||||
OPEN_TASK_STATES = ("open", "in_progress", "blocked", "review")
|
||||
TASK_MOVES = {
|
||||
"open": {"in_progress", "cancelled"},
|
||||
"open": {"in_progress", "cancelled", "blocked"}, # deferred before anyone starts it
|
||||
"in_progress": {"blocked", "open", "done", "cancelled", "review"},
|
||||
"blocked": {"in_progress", "open", "cancelled"},
|
||||
"review": {"in_progress", "done", "cancelled"},
|
||||
|
||||
Reference in new issue
Block a user