Read a plan from the child issues of a Jira Cloud epic
CI / tests (pull_request) Failing after 2m6s

This commit is contained in:
2026-11-14 19:12:25 +01:00
parent c19f097ecd
commit 59d972cc82
22 changed files with 570 additions and 30 deletions
+6 -1
View File
@@ -21,6 +21,11 @@ starts with / or ~/. In a worktree, a "checkout:" path is the worktree's own fil
goals-and-audience = "folder:goals.md"
principles = "folder:principles"
`plan` may name a Jira Cloud epic in place of a path, as "jira:" and the epic's address:
"jira:https://acme.atlassian.net/browse/ABC-12". The plan is then the epic's open child issues, in
Jira's backlog order, and it is printed as the config spells it. Such a config must set `env-file`,
and that file hold ATLASSIAN_EMAIL and ATLASSIAN_API_TOKEN.
`env-file` is an optional setting: the file of KEY=value credentials the project's tools read,
a path that starts with / or ~/ and lies outside the checkout and the config's folder, such as
"~/.claude-projects/acme-billing.env". Where it is left out, the project has no credentials file, and
@@ -81,7 +86,7 @@ def main(argv: list[str]) -> int:
if argv and argv[0] in config.texts:
print(config.texts[argv[0]])
return 0
paths = {**config.paths, **({ENV_FILE: config.env_file} if config.env_file else {})}
paths = {**config.places, **({ENV_FILE: str(config.env_file)} if config.env_file else {})}
if argv and argv[0] not in paths:
print(f"{config.folder / CONFIG} sets no `{ENV_FILE}`", file=sys.stderr)
return 1