Move an epic's issue to done in Jira when its chunk finishes
CI / tests (pull_request) Successful in 4m20s

This commit is contained in:
2026-11-18 23:04:34 +01:00
parent ea3da03468
commit 42cff3a8a7
9 changed files with 182 additions and 9 deletions
+3
View File
@@ -63,6 +63,9 @@ class EpicStore(typing.Protocol):
def comment(self, key: str, text: str) -> None | Failure:
"""Posts text, markdown, as a comment on the epic's child issue named key, for the people who work the epic to read. A sub-task, an issue outside the epic, or an empty or blank text is refused."""
def finish(self, key: str) -> None | Failure:
"""Moves the epic's child issue named key to a done status, so that read answers it as done; one already done stays as it is. A sub-task, or an issue outside the epic, is refused, and so is a tracker whose workflow offers no one move to a done status."""
def unfit(summary: str, labels: tuple[str, ...]) -> Failure | None:
"""Why no tracker can file an issue with this summary and these labels; None where a tracker can file it."""