agentleFS
JipletJiplet/wiki-to-ticket/skills/jira-ticket/SKILL.md

jira-ticket

Skill1 starsChanged 2 months agoMITView on GitHub

Turn a wiki page, a described initiative, or a live sheet into a Jira ticket: an epic, a data task, a story, or a reclassification task. Use when asked to "raise a ticket", "create the Jira", "write this up for the engineer", "epic and stories for", "log this in Jira", "ticket the wiki page for X", or any request to hand a piece of work to a delivery team via Jira.

6 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 6

    1. flurdy/agent-skills★ 9same name
    2. sarveshtalele/mcp-skills-registry★ 2same name
    3. fboulnois/skills★ 1same name
    4. kingkong0905/my-claude-code★ 1same name
    5. merchako/agent-skills★ 0same name
    6. muhammadrivaldy/agent-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

22 rules. 0 are common, 13 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the initiative or topic page in the wiki.

    line 28
  2. Very specific:

    Read every wiki/3-data/ page for each source sheet or workbook the ticket will reference: column list, grain, join keys, known data-quality …

    line 29
  3. Distinctive:

    Read any PRD or scope note linked from those pages.

    line 31
  4. Distinctive:

    If a build script exists for the pipeline in question, read its header comment (what it does, inputs, outputs) rather than the code.

    line 35
  5. Distinctive:

    Do not skip step 4 because the wiki page looks recent.

    line 38
  6. Distinctive:

    Run these in order. Each step exists to prevent a specific failure: duplicate tickets, a ticket in the wrong project, an issue type that …

    line 43
  7. Distinctive:

    When in doubt between a data task and a story: a data task is defined by what gets built (a table, a join, a load).

    line 98
  8. Very specific:

    Use the exact column names and column or sheet IDs from the 3-data/ page and the live pull, never a remembered or approximate name.

    line 105
  9. Distinctive:

    Every count is a measured count with the date it was measured.

    line 110
  10. Very specific:

    Every template ends with a "Notes for the author (not part of the ticket)" section under a horizontal rule.

    line 117
  11. Distinctive:

    No dollar figures unless the wiki page states them with a source.

    line 120
  12. Very specific:

    Before every createJiraIssue, show the full draft and wait for an explicit yes.

    line 125
  13. Distinctive:

    If the answer is "adjust", apply the change and show the card again.

    line 147
  14. Very specific:

    Create the epic first if it does not already exist, then create each child with parent set at create time.

    line 152
  15. Very specific:

    Add createIssueLink for any blocking relationship between children.

    line 155
  16. Very specific:

    Verify every child actually has parent = <EPIC-KEY> with the JQL from step 11 of the discovery chain.

    line 158
  17. Distinctive:

    After the tickets exist:

    line 164
  18. Very specific:

    Add the same key and URL to the initiative's wiki page under ## Sources.

    line 167
  19. Distinctive:

    Search before create, always: Run the JQL dedupe check even when you are confident nothing exists.

    line 174
  20. Very specific:

    Never create without confirmation: Every createJiraIssue call is preceded by a confirmation card and an explicit yes.

    line 178
  21. Distinctive:

    Never invent a number: If a count, a date, or a dollar figure is not in the wiki with a source, leave it out or flag it as an open question …

    line 180
  22. Distinctive:

    One ticket per discrete action: If a story description contains "and" joining two things that could be assigned to different people, split …

    line 182

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

jira-ticket

Identity

You derive tickets from the wiki, never from memory. The wiki page for a topic already holds the column names, join keys, measured counts and exclusions that make a ticket precise; your job is to read that page, confirm it against the live source, check Jira for anything that already covers it, and then write a ticket that is a spec, not a request to go and find out. If the wiki page does not exist yet, write it first: a ticket with no wiki page behind it is a ticket you will not be able to defend six months from now.

Pre-flight

Before drafting anything:

  1. Read the initiative or topic page in the wiki.
  2. Read every wiki/3-data/ page for each source sheet or workbook the ticket will reference: column list, grain, join keys, known data-quality counts.
  3. Read any PRD or scope note linked from those pages.
  4. Pull each live sheet by URL through the Smartsheet MCP (get_sheet_by_url, or search_reports then a REST GET /2.0/reports/{id} for a report) to confirm column names and row counts as of today. Wiki pages go stale; the ticket must not.
  5. If a build script exists for the pipeline in question, read its header comment (what it does, inputs, outputs) rather than the code.

Do not skip step 4 because the wiki page looks recent. "As of today" is the standard, not "as of whenever the page was last touched."

Jira discovery chain

Run these in order. Each step exists to prevent a specific failure: duplicate tickets, a ticket in the wrong project, an issue type that does not exist, or a write with no audit trail. Do not reorder or skip a step to save a round trip.

  1. atlassianUserInfo: confirms who you are authenticated as, before anything else can be attributed to you.
  2. getAccessibleAtlassianResources: returns the cloudId every later call needs.
  3. getVisibleJiraProjects: confirms the target project exists and you can see it, before you assume a project key.
  4. searchJiraIssuesUsingJql with:
    text ~ "<topic>" OR summary ~ "<topic>" ORDER BY updated DESC
    Dedupe before creating anything. A backlog that accumulates near-duplicates is worse than a five-minute search.
  5. getJiraProjectIssueTypesMetadata: issue type names and required fields differ per project. Never assume "Story" or "Task" exists under those names; confirm the shape before you pick a template.
  6. searchJiraIssuesUsingJql with:
    project = <PROJECT-KEY> AND issuetype = Epic ORDER BY created DESC
    Pick an existing epic as parent, or confirm none fits and you need to create one.
  7. createJiraIssue for the epic (if needed), with contentFormat: markdown. The MCP converts markdown to the Atlassian document format for you; do not hand-write ADF.
  8. createJiraIssue for each child, with parent: <EPIC-KEY> set at create time, not patched in afterwards.
  9. lookupJiraAccountId for the named assignee, then editJiraIssue to set assignee and labels. Never fuzzy-match a name against a cached list: a wrong assignee is a ticket nobody works.
  10. getTransitionsForJiraIssue to fetch the transition ID for the target status, then transitionJiraIssue with that ID. Status names are not transition IDs; do not guess one from the other.
  11. Verify with searchJiraIssuesUsingJql:
    parent = <EPIC-KEY> ORDER BY key ASC
    Confirm every child actually landed under the parent before telling the wiki it did.
  12. createIssueLink wherever one story blocks another, so dependency order survives outside your own head.
  13. addCommentToJiraIssue for a handover note, if the engineer needs context that does not belong in the ticket body itself.

Choosing the shape

SituationTemplate
A body of work with several buildable children, or a business lever that needs a containertemplates/jira-epic.md
One buildable pipeline stage: a table, a load, a transformtemplates/jira-data-task.md
A feature or workflow change told from a user's point of viewtemplates/jira-story.md
Moving a set of records from one taxonomy to anothertemplates/jira-reclassification-task.md
A working prototype that has to become the supported build; the behaviour already exists and is the spectemplates/jira-productionise-prototype.md

For a Smartsheet row rather than a Jira issue, the smartsheet skill uses the three write-ups in templates/smartsheet-*.md (register row, plan row, weekly update) with the same confirmation-card discipline.

When in doubt between a data task and a story: a data task is defined by what gets built (a table, a join, a load); a story is defined by what someone can then do. If both are true, write the data task first and let the story reference it once the table exists.

Body rules

  • Use the exact column names and column or sheet IDs from the 3-data/ page and the live pull, never a remembered or approximate name.
  • State join rules in order, most reliable first, and say explicitly what the fallback is when a match fails. Never propose a fuzzy name match as a rule: a confident false positive is worse than a stated gap.
  • Every count is a measured count with the date it was measured. "137 of 137 matched" is a fact only if you pulled the source today; otherwise say when you pulled it.
  • Reclassification and audit-style tickets carry a numbered table of every record in scope and a second numbered table of every record excluded, with a reason. The ticket is the audit trail; do not summarise it away.
  • Assignees are looked up by lookupJiraAccountId and confirmed by exact match. If the lookup returns nothing or more than one candidate, stop and ask rather than guessing.
  • Every template ends with a "Notes for the author (not part of the ticket)" section under a horizontal rule. Strip that section before you call createJiraIssue; it is there to carry context to the human reviewing the draft, not to the engineer.
  • No dollar figures unless the wiki page states them with a source. A ticket is not the place to estimate a number that does not exist yet.

Confirmation card

Before every createJiraIssue, show the full draft and wait for an explicit yes. Never create on an assumed confirmation.

JIRA: CREATE ISSUE
-----------------------------------------
Type:        Story
Parent:      DATA-165
Summary:     Load rate lines for seven categories into one fact table
Assignee:    Alex Chen (looked up: alex.chen)
Labels:      wiki-to-ticket, data
-----------------------------------------
Body:
## The problem
...
## What to build
...
[full body follows]
-----------------------------------------
> Create this issue? (yes / adjust)

If the answer is "adjust", apply the change and show the card again. Do not create on a partial or implied yes.

Create, link, transition, verify

  1. Create the epic first if it does not already exist, then create each child with parent set at create time.
  2. Set assignee and labels via lookupJiraAccountId + editJiraIssue.
  3. Add createIssueLink for any blocking relationship between children.
  4. Transition any issue that should not land in the default status, using the transition ID from getTransitionsForJiraIssue.
  5. Verify every child actually has parent = <EPIC-KEY> with the JQL from step 11 of the discovery chain. Do not report success from the create response alone; the create response confirms the call succeeded, not that the hierarchy is correct.

Write-back

After the tickets exist:

  1. Append the key and URL of every issue created to the day's session log.
  2. Add the same key and URL to the initiative's wiki page under ## Sources.
  3. Invoke wiki-compile so the wiki reflects that the ticket now exists and where it points. The wiki holds the full picture; the ticket holds the slice an engineer needs, and the two must stay linked in both directions.

Non-negotiable rules

  1. Search before create, always. Run the JQL dedupe check even when you are confident nothing exists. Confidence is not a substitute for the search.
  2. Metadata before create. Fetch issue type metadata for the target project before picking a type name. Different projects name things differently.
  3. Never create without confirmation. Every createJiraIssue call is preceded by a confirmation card and an explicit yes.
  4. Never invent a number. If a count, a date, or a dollar figure is not in the wiki with a source, leave it out or flag it as an open question in the ticket.
  5. One ticket per discrete action. If a story description contains "and" joining two things that could be assigned to different people, split it.
  6. If the wiki page does not exist, write it first. A ticket derived from nothing is a ticket nobody can trace back to the reasoning behind it.

Worked mini-example

Topic: a new join key needs resolving before a fact table can load.

JIRA: CREATE ISSUE
-----------------------------------------
Type:        Task
Parent:      DATA-165
Summary:     Resolve the vendor join key for the rate-line fact table
Assignee:    Alex Chen (looked up: alex.chen)
Labels:      wiki-to-ticket, data
-----------------------------------------
Body:
## The problem
Vendor records in the supplier master and the rate-line extract do not share a
stable ID. Loading the fact table today would silently drop unmatched rows.

## What to build
A join-key resolution step that stamps every rate line with a resolved vendor ID
before it lands in the fact table.

## Join rules, in order
1. Normalised 11-digit ABN, exact match on both sides.
2. Exact vendor ID match where ABN is missing or invalid.
3. Everything else: routed to manual review, recorded with a reason, never a
   fuzzy name match.

## Known state to design against
Measured 2026-08-30:
- 41 of 52 vendors matched on ABN
- 6 with no valid ABN, matched on vendor ID
- 5 routed to manual review

## Acceptance criteria
- [ ] Every rate line carries a resolved vendor ID or a manual-review flag.
- [ ] The manual-review list is written to a table an analyst can action.

## Out of scope
- Correcting bad ABNs at source.
-----------------------------------------
> Create this issue? (yes / adjust)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.