Skip to content

feat: ticket.template for issue body skeletons - #1

Merged
edihasaj merged 2 commits into
mainfrom
feat/ticket-template
Jun 3, 2026
Merged

feat: ticket.template for issue body skeletons#1
edihasaj merged 2 commits into
mainfrom
feat/ticket-template

Conversation

@edihasaj

@edihasaj edihasaj commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

Add a ticket.template config field — the issue/ticket-body analogue of
pr.template. The pipeline can now fill a house-style ticket skeleton when it
drafts or updates a ticket description, the same way it already does for PRs.

Changes

  • schema (_schema.yml): document the ticket.template field — "" for the
    built-in default, or a filesystem path / Obsidian URL (same resolution as
    pr.template).
  • SKILL.md: new "Drafting or updating a ticket body" step — resolves
    ticket.template, keeps section headings small (###), and routes
    End-user / PR acceptance criteria into the tracker's dedicated fields
    (discovered via issue metadata; rich-text fields take ADF, sent in a separate
    update from the markdown description), falling back to description sections
    only when no such field exists. Built-in default structure documented
    (Status / Ask / Description / Out of scope + AC fields).
  • example: show ticket.template in the Jira enterprise example.

No Go change: like pr.template, the skill reads the field straight from YAML.

Testing

  • go build ./... clean
  • go test ./... green
  • Built the branch binary, ran install-skill, and exercised the flow against a
    real Jira issue: description rendered with ### headings, and the two
    acceptance-criteria custom fields populated as ADF bullet lists.

Risk

Low. Additive, optional field (default "" = prior behaviour). Skill-only +
schema docs; no launcher code paths change.

edihasaj added 2 commits June 3, 2026 14:02
Mirror pr.template for ticket/issue descriptions: a per-repo `ticket.template`
(filesystem path or Obsidian URL, "" = built-in default) used when the pipeline
drafts or updates a ticket body.

- schema: document the `ticket.template` field
- SKILL.md: "Drafting or updating a ticket body" step, shared resolution with
  pr.template, and the built-in default structure (Status / Ask / Description
  [Background / Already-in-place / Remaining scope] / Out of scope /
  End-user AC / PR AC)
- example: show ticket.template in the Jira enterprise example

No Go change: like pr.template, the skill reads it straight from the YAML.
Refine the ticket-template guidance: keep section headings small (###), and
write End-user / PR acceptance criteria into the tracker's dedicated fields
(discovered via issue metadata; rich-text fields take ADF, sent in a separate
update from the markdown description) instead of the description body. Falls
back to description sections only when no such field exists.
@edihasaj
edihasaj merged commit 8e9f316 into main Jun 3, 2026
1 check passed
@edihasaj
edihasaj deleted the feat/ticket-template branch June 3, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant