Write no changelog bullet for a plan kept in Jira: todo-item finish there needs no changelog flag and refuses --changelog #567

Merged
lilleman merged 8 commits from item-394 into main 2026-11-17 00:09:08 +01:00
Showing only changes of commit 1598b6178e - Show all commits
+1 -1
View File
@@ -117,7 +117,7 @@ def main(argv: list[str], folder: pathlib.Path = pathlib.Path(), stdin: typing.T
done = reported(plan.edit(args.id, {"Release": args.release}, None), "not moved", lambda written: f"Moved item {written.id} to release {args.release} in {plan.label}.")
case _:
# A Jira plan keeps no changelog: the issues' history in Jira says what shipped.
done = finish(args, plan, None if config.epic else store(config, "changelog"))
done = finish(args, plan, None if config.epic else store(config, "changelog"))
if isinstance(done, Failure):
print(done.reason, file=sys.stderr)
return 1