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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user