Answer product-owner round 1: 1 🔴, 3 🟡 (1 misread); finish a sub-task too, name the transition in the config where several close an issue, say how to start the blocked chunks after a refused move

This commit is contained in:
2026-11-18 23:38:02 +01:00
parent 42cff3a8a7
commit 720b558bbf
9 changed files with 92 additions and 34 deletions
+2 -1
View File
@@ -63,7 +63,8 @@ class MemoryEpic:
def finish(self, key: str) -> None | Failure:
if self.fails:
return Failure(self.fails)
child = next((issue for issue in self.issues if issue.key == key and issue.parent == self.epic_key), None)
children = {issue.key for issue in self.issues if issue.parent == self.epic_key}
child = next((issue for issue in self.issues if issue.key == key and (issue.parent == self.epic_key or issue.parent in children)), None)
if child is None:
return no_child(self.epic_key, key, "finished")
if not child.done: