Skip to content
Back to skills

Jira Bug

ASecurity

Create, update or rewrite Jira bugs. Checks for duplicates, titles the bug as the observed symptom plus condition (never the fix), fills Environment / Reproduction / Observed / Expected and impact / Useful links, sets a parent epic and a priority decided from impact, and links it to the tested ticket ("discovered while testing"). Use to log, report or clean up a bug, defect, regression, incident ticket or anything found during UAT.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgotesting

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add Piheros/product-skills --skill jira-bug --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Jira Bug?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Jira Bug
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/piheros-jira-bug/badge)](https://www.skillsdirectory.com/skills/piheros-jira-bug)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: jira-bug
description: Create, update or rewrite Jira bugs. Checks for duplicates, titles the bug as the observed symptom plus condition (never the fix), fills Environment / Reproduction / Observed / Expected and impact / Useful links, sets a parent epic and a priority decided from impact, and links it to the tested ticket ("discovered while testing"). Use to log, report or clean up a bug, defect, regression, incident ticket or anything found during UAT.
---

# Jira bug

Create bugs in Jira from what the user observed, following the team
conventions in `references/jira-conventions.md`.

**Hard gate:** never create or edit a ticket before showing a recap and
getting an explicit "yes".

## Principles

- **Language:** ticket content and the recap in English (or the team's
  agreed language).
- **Is it really a bug?** A defect on something that worked, or should have
  worked. A new capability, an evolution or technical work is a story
  (`jira-user-story`); a workstream is an epic (`jira-epic`).
- **The bug may already exist:** search first, e.g.
  `project = <KEY> AND issuetype = Bug AND statusCategory != Done AND text ~ "<symptom>"`.
  If it exists, offer to comment with the new observation. A duplicate found
  later gets a "duplicates" link and moves to Canceled (after approval).
- **Factual:** the symptom, the environment and the exact error message.
  Never guess a cause or a fix in the title.
- **Not fixed inside the ticket under test:** a bug found while testing
  another ticket gets its own ticket, linked "discovered while testing".
- **Grouped questions:** ask in one message what is missing (environment,
  steps, observed, expected, impact).

## Rules

- **Parent mandatory:** a bug belongs to an epic, like a story. If no epic
  fits, use the initiative's "Run & maintenance" epic (propose it, or offer
  to create it with `jira-epic`).
- **Priority decided at creation** from the grid and the impact (who is
  affected, how often, is there a workaround?), justified in a few words.
  Not Highest by default, never Low by default. A bug in the current sprint
  or being fixed is not Low. For a copy of a bug from another project, flag
  any gap with the source priority.
- **Title:** `[CODE] Layer - <observed symptom> <condition>` (where, when, for
  whom). "Fix…" or "Repair…" at the start is already a solution: rephrase as
  an observation.
- **Story points and type label are optional on bugs** unless the team has
  decided otherwise: propose them (grid; `RUN` if the product is in
  production, otherwise `BUILD`) and say they are optional in the recap. Do
  not block creation if they are missing.
- Assignee and sprint at creation if known, otherwise
  `to set in sprint planning`. Component and contributors: same rules as
  stories (for a UAT bug, the assignee of the tested ticket is a good
  contributor candidate).
- **Sub-tasks** allowed (parent = the bug), without points; closed, moved or
  canceled when the bug closes.

| Avoid | Prefer |
|---|---|
| `Fix the sync timeout` | `[FN] Back - Sync returns a 504 after 30 s with more than 20 photos (prod)` |
| `Photo bug` | `[FN] Front - Photo thumbnails stay grey after an offline save (Android 14)` |
| `Repair CSV export` | `[FN] Front - Visit export downloads an empty file above 10,000 rows` |

## Description

Follow `references/template.md`: Environment, Reproduction, Observed,
Expected and impact, Useful links. If information is missing (steps, exact
message, time), ask; if the user does not have it, write
`Unknown - to complete` rather than invent.

## Jira context

```
1. Accessible Atlassian resources → cloudId
2. Visible projects → project and the exact Bug type name (localized: "Bogue", "Anomalie")
3. Duplicate search on open bugs
4. Parent epic: the epic of the affected feature, or the initiative's
   "Run & maintenance" epic (JQL issuetype = Epic AND summary ~ "Run")
5. Tested ticket (if found during UAT): read it to link it
6. Priority values of the site; Sprint / Story points field IDs if needed
```

## Approval gate

```
## Summary

**Project:** FN | **Epic:** FN-30 Run & maintenance | **Duplicate check:** none found

| Title | Priority | Assignee | Sprint | SP / label (optional) |
|---|---|---|---|---|
| [FN] Back - Sync returns a 504 after 30 s with more than 20 photos (prod) | Highest - technicians hit it daily, partial workaround | to set in sprint planning | to set in sprint planning | 3 · RUN (proposed) |

**Description:** Environment / Reproduction / Observed / Expected and impact / Useful links (shown in full)
**Links:** discovered while testing → FN-44

**Create? (yes/no)**
```

Do not ask for the "yes" while the title describes a fix, the parent epic or
the priority is missing, or Observed is empty.

## Create and verify

Create with the site's Bug type, parent, priority, Markdown description, and
only if approved: assignee, sprint, story points, labels. Add the
"discovered while testing" link: read the site's link types (there may be
several variants; take the one whose label on the bug side is "discovered
while testing"; fall back to "relates to" and say so). If no link tool is
available, cite the ticket in Useful links and ask for a manual link.
Re-read the ticket and fix any field that was not taken. Then show:

```
Bug created: [FN-81](https://<site>.atlassian.net/browse/FN-81) Sync returns a 504 after 30 s with more than 20 photos (prod) · Epic FN-30 · Highest
```

If the priority is Urgent, remind the user to alert the team directly too.

## Bringing existing bugs into line

For keys given by the user: read each bug, rewrite the title as an
observation and the description to the template, propose the epic and
priority if missing or Low by default, keep existing information. Before /
after recap, "yes", then edit.

## Errors

- Bug type missing → look for the localized name, otherwise report it.
- Parent or link refused → create without it, link after, otherwise give the
  user the link to add by hand.
- Priority refused → check the exact name on an existing ticket, otherwise
  ask the user to set it in Jira.
- Assignee not found → propose the closest accounts; never assign at random.

## Product context

This skill is one link in a chain that shares `product/product.yaml` in the
user's project (see `product-lifecycle`).

- **Reads:** `backlog.epics`, `backlog.stories`, `prototype`.
- **Writes:** Jira bugs (after approval).
- **Updates in `product.yaml`:** `backlog.bugs` (key, epic, tested story, status); and adds its output under `artifacts.jira-bug`.
- **Feeds:** `jira-batch`, `jira-uat-tester`, `release-notes`.

Called by `jira-uat-tester` when a test fails on a new defect, and by
`jira-user-story` or `jira-batch` when a request turns out to be a bug; hand
back to the calling skill when done.

If `product/product.yaml` exists, read it first and reuse its IDs instead of
asking again. Update only the keys above, keep stable IDs, never renumber or
delete other entries, show the change before writing, and validate the YAML.
If it does not exist, work standalone and offer to create it with
`product-lifecycle` at the end.

## References

- `references/jira-conventions.md`: hierarchy, title format, priority grid, links (shared by all Jira skills)
- `references/template.md`: structure of the bug description
- `references/example.md`: worked example on a fictional product
- `references/quality-checklist.md`: criteria to check before presenting the recap
- `references/sources.md`: established references behind this skill

Follow the template, match the example's level of detail, and run the
quality checklist before presenting results; list any unchecked item as an
open point. Use `sources.md` when the user asks why a method is used.

Files in this skill

  • SKILL.md7.6 KB
  • references/example.md1.4 KB
  • references/jira-conventions.md12.6 KB
  • references/quality-checklist.md847 B
  • references/sources.md763 B
  • references/template.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.