jira-fetcher
Jira Ticket Fetcher
Fetch Jira ticket details and trigger PRD planning workflow.
Prerequisites
Set these environment variables:
JIRA_API_TOKEN: Personal access token for Jira Cloud authenticationJIRA_EMAIL: Your Atlassian account email addressJIRA_SITE_URL: Jira site URL (default:https://sozialinfo.atlassian.net)
Workflow
- Fetch ticket: Run fetch script with the ticket key
- Display ticket info: Show link, ticket ID, title, and description
- Trigger PRD skill: Immediately start PRD planning with ticket context
Step 1: Fetch Ticket
Execute fetch script:
python3 scripts/fetch_jira_ticket.py <ticket-key>
The script returns JSON with:
key: Ticket ID (e.g., "PROJ-123")link: Direct URL to the tickettitle: Ticket summary/titledescription: Ticket description (may be in Atlassian Document Format)
Handle errors by returning the full API error message to the user.
Step 2: Display Ticket Info
Present the fetched information to the user in a clear format:
## Jira Ticket: {key}
**Link:** {link}
**Title:** {title}
**Description:**
{description}
Step 3: Trigger PRD Skill
After displaying the ticket, immediately start the PRD planning workflow:
- Inform the user: Briefly state that you're now creating a PRD based on the ticket
- Provide context: The PRD skill has access to the ticket details from Step 2
- Ask clarifying questions: Use the PRD skill's question format with ticket context in mind
Example PRD question:
Based on this ticket, what is the primary goal?
A. [Option based on ticket]
B. [Option based on ticket]
C. [Option based on ticket]
D. Other: [please specify]
The PRD skill will then generate a comprehensive PRD document with:
- User stories and acceptance criteria
- Functional requirements
- Success metrics
- Non-goals (out of scope)
Important Notes
- No automatic PRD creation: Do NOT create the PRD automatically. Let the PRD skill handle its workflow (questions → generation)
- Context availability: The PRD skill has full ticket context available when asking clarifying questions
- Error handling: If the API call fails, return the exact error message from the API response
- Description format: Jira descriptions may be in Atlassian Document Format (JSON); present this to the user as-is
Example Session
User: "Fetch JIRA-123"
Agent:
- Runs
python3 scripts/fetch_jira_ticket.py JIRA-123 - Displays ticket info (link, title, description)
- Says: "Now creating a PRD based on this ticket. I have the ticket context and will ask clarifying questions."
- Activates PRD skill and asks: "Based on this ticket about user authentication, what's the primary goal? A. Improve security, B. Simplify login, C. Add OAuth, D. Other"
More from wireless25/agentic-coding
prd
Generate a Product Requirements Document (PRD) for a new feature. Use when planning a feature, starting a new project, or when asked to create a PRD. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.
9brainstorming
Collaborative ideation and exploration before implementation. Triggers when creating features, building components, adding functionality, or starting creative work. Encourages brainstorming options, discussing trade-offs, and exploring possibilities together with the user before diving into code.
7frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
5agent-browser
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
4skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
4vue-dev
Generate modern, maintainable Vue TypeScript code with best practices: Composition API, script setup with TS, composable patterns over global stores, props destructure, VueUse integration, Tailwind CSS, accessibility, performance optimization, and Vitest testing. Use when creating Vue 3 components, composables, or refactoring Vue code to follow modern patterns.
2