Commit ba0ec4a
fix(jira): stop claiming phantom TestFlight builds; render real ADF; fix points field; drop noise-author lines
The merge/PR Jira automation made human-visible false or noisy claims:
1. "Ready for QA: TestFlight build N" was posted on EVERY merge, including
develop merges that upload nothing. The number was whatever
CURRENT_PROJECT_VERSION happened to grep first, so QA was pointed at a build
that predated (and lacked) the fix. Now add_build_info takes a version +
uploaded flag and only claims a TestFlight build when one was actually
produced (main release, or a develop merge that bumped the build). Otherwise
it says the change is merged and tells QA to hold for the next release build.
jira-update-on-merge.yml computes `uploaded` (base==main, or build number
changed vs first parent) and reads the Palace app's version robustly (max
build / highest marketing version, not `grep -m1 | head -1`).
2. The build comment used Jira wiki markup pushed through a plain-text ADF node,
so it rendered as literal asterisks and a dead link. It is now built as real
ADF (strong marks + a link node).
3. Story points were written to the unused customfield_10016; the board reads
customfield_10033. Fixed read + write everywhere.
4. Comments embedded the local git author ("t <t@t.io>") in add_fix_comment's
traceability block and link_commit's output — meaningless to a QA/PM reader.
Dropped the author line from both; the commit SHA is the traceability anchor.
Goal: every automated comment reads clean to a human, no mystery authors.
Also: add_build_info updates an existing per-PR comment instead of duplicating,
and link_commit skips a SHA that's already linked.
**Scope:** dev tooling only — scripts/jira-integration.sh and the two Jira
GitHub Actions workflows. No app/production code, no test-affecting change.
**Not done:** did not scrub already-posted comments in this commit (done
separately on the board); did not add a bash test harness (none exists; verified
via bash -n + offline ADF/version dry-runs).
**Deferred:** generate-jira-tickets.py hardcodes LABEL="pp-4020" regardless of
--parent — a separate, unrelated cleanup.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0b60497 commit ba0ec4a
3 files changed
Lines changed: 219 additions & 51 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | | - | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
26 | 50 | | |
27 | 51 | | |
28 | 52 | | |
| |||
65 | 89 | | |
66 | 90 | | |
67 | 91 | | |
| 92 | + | |
| 93 | + | |
68 | 94 | | |
69 | 95 | | |
70 | 96 | | |
| |||
82 | 108 | | |
83 | 109 | | |
84 | 110 | | |
85 | | - | |
86 | | - | |
| 111 | + | |
| 112 | + | |
87 | 113 | | |
88 | 114 | | |
89 | 115 | | |
| |||
109 | 135 | | |
110 | 136 | | |
111 | 137 | | |
112 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
113 | 144 | | |
114 | 145 | | |
0 commit comments