Finish item 378: name a Jira plan's chunks by the issue key through the branch and title templates
CI / tests (pull_request) Successful in 2m7s

This commit is contained in:
2026-11-14 20:37:30 +01:00
parent 93bad95bfd
commit 2b4c8b4cab
6 changed files with 30 additions and 5 deletions
+3
View File
@@ -53,6 +53,9 @@ character; left out, it is "{summary}". `branch` holds {id} once, among letters,
A title must fit its template only on a branch that fits `branch`. On any other branch, as for a
chunk with no plan item, such as a release review, it may be the bare summary. A tool that reads
a title for its summary tries `commit-title`, then `pull-request-title`, then takes the title whole.
For a Jira plan the item's ID is the issue's number, so a project key such as ABC gives the ticket-style names with
`branch = "ABC-{id}"`, `commit-title = "ABC-{id} - {summary}"` and `pull-request-title = "ABC-{id} - {summary}"`:
the chunk of ABC-123 is on the branch ABC-123, in the worktree <checkout>-ABC-123, and its commits read "ABC-123 - …".
`project-config <setting>` prints each one's value, and the full listing shows it only where the
config changes it from what it is when left out.