Edit a Jira issue the loop filed, and score a teammate's with a comment saying why
CI / tests (pull_request) Successful in 1m48s

This commit is contained in:
2026-11-16 01:55:57 +01:00
parent 0681e9be17
commit 2e9d9dd714
13 changed files with 326 additions and 27 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class MemoryPlan:
def add(self, fields: dict[str, str], detail: str) -> Written | Failure:
return self.put(self.next_id, cells(fields), detail)
def edit(self, id_: int, fields: dict[str, str], detail: str | None) -> Written | Failure:
def edit(self, id_: int, fields: dict[str, str], detail: str | None, comment: str | None = None) -> Written | Failure:
if id_ not in self.rows:
return Failure(f"{self.label} holds no item {id_}")
return self.put(id_, self.rows[id_] | cells(fields), self.details.get(id_, "") if detail is None else detail)