Move a parent whose sub-tasks a person filed once they have landed or are done
CI / tests (pull_request) Failing after 2m53s
CI / tests (pull_request) Failing after 2m53s
This commit is contained in:
@@ -73,6 +73,9 @@ class EpicStore(typing.Protocol):
|
||||
def move_issue(self, key: str, status: str) -> None | Failure:
|
||||
"""Moves the epic's child issue named key, or a sub-task of one, to the status named status, in upper or lower case; one already there stays as it is. An issue outside the epic is refused. A Failure says why the move could not be made, such as a workflow that gives no way from the issue's status to that one."""
|
||||
|
||||
def move_issue_by(self, key: str, transition: str) -> str | Failure:
|
||||
"""Moves the epic's child issue named key, or a sub-task of one, by the workflow transition named transition, and answers the name of the status it leads to. An issue outside the epic is refused. A Failure says why the move could not be made, such as a workflow that offers the issue no transition of that name from its status."""
|
||||
|
||||
def finish_issue(self, key: str) -> None | Failure:
|
||||
"""Moves the epic's child issue named key, or a sub-task of one, to a done status, so that read answers it as done; one already done stays as it is. An issue outside the epic is refused. A Failure says why the move could not be made: the issue's workflow gives no way to a done status, gives several the backend cannot choose between, or refuses the move."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user