jira-bug-reporter

Analyzes Playwright test failures and creates Jira bug sub-tasks with attached screenshots.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/tetianna/ai-assisted-qa-automation-2 --skill jira-bug-reporter-tetianna
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: jira-bug-reporter
Source: https://github.com/tetianna/ai-assisted-qa-automation-2/tree/main/.cursor/skills/jira-bug-reporter
Command: npx skills add https://github.com/tetianna/ai-assisted-qa-automation-2 --skill jira-bug-reporter-tetianna

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? When a Playwright test fails, manually investigating the root cause, reproducing the failure, and writing a complete Jira bug ticket with evidence is slow and error-prone. This Skill automates the full failure-to-ticket workflow so every defect is documented consistently with screenshots attached. ## Core Features & Use Cases - Failure Analysis and Reproduction: Parses Playwright error output, re-runs the failing test with --workers=1 and --repeat-each=2 to confirm reproducibility, and collects failure screenshots via helper scripts. - Structured Jira Sub-task Creation: Creates Sub-tasks under the correct parent DS story via the Atlassian MCP, with a Taya [Composer] summary prefix, severity/priority mapping, and a full markdown bug report template. - Duplicate Detection and Mandatory Evidence: Searches Jira with JQL before creating tickets to avoid duplicates, and attaches screenshots using scripts/jira-attach-screenshots.mjs since MCP cannot upload files. - Use Case: A regression run fails on DS-2.spec.ts because the program list shows stale data after an edit. The Skill reproduces the failure, checks for an existing sub-task, drafts the report, creates the Jira sub-task under DS-2, and attaches the failure screenshot. ## Quick Start Investigate the failing Playwright test in DS-2.spec.ts, reproduce it, and file a Jira bug sub-task with the failure screenshots attached.

Frequently Asked Questions about jira-bug-reporter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Jira bug ticket from a Playwright test failure?▼

Re-run the failing spec with `npx playwright test <spec> -g "<title>" --workers=1` to confirm reproduction, collect screenshots with the collect-failure-screenshots script, then create a Sub-task via the Atlassian MCP and attach the PNGs using jira-attach-screenshots.mjs.

How do I attach screenshots to a Jira ticket from Playwright test results?▼

Run `node scripts/jira-attach-screenshots.mjs <ISSUE-KEY> $(node scripts/collect-failure-screenshots.mjs --latest)`. The Atlassian MCP cannot upload files, so this script uses the Jira REST API with JIRA_LOGIN_EMAIL and JIRA_API_TOKEN from your .env file.

How do I avoid creating duplicate Jira bug tickets?▼

Search Jira before creating with JQL such as `parent = DS-N AND issuetype = Sub-task AND text ~ "<key phrase>"`. If a matching open sub-task exists, attach the new screenshots to that issue instead of filing a duplicate.

Why does Jira screenshot upload fail with HTTP 401?▼

HTTP 401 means authentication failed because Jira Cloud REST API does not accept password auth. Create an API token at id.atlassian.com and set it as JIRA_API_TOKEN in your .env file alongside JIRA_LOGIN_EMAIL.

When should a Playwright failure not be reported as a bug?▼

Do not file tickets for environment or setup failures such as missing .env values or network blips, unless the user explicitly asks. Always verify the failure reproduces at least twice before creating a ticket.