JIRA Epic & Story Generation
Generate comprehensive JIRA epics, stories, and subtasks from a requirements document using Atlassian MCP.
When to Use
- User provides a requirements document (PRD/BRD/SRS/requirements spec) and wants JIRA created
- User asks to convert written requirements into epics, stories, and subtasks
- User wants structured agile planning items from a requirements document
Overview
This skill analyzes a requirements document and generates structured JIRA items (epics, stories, subtasks) with comprehensive agile details, then creates them in JIRA via Atlassian MCP.
MCP Server Integration
Atlassian MCP Server
Use Atlassian MCP server for all JIRA operations:
- Get Project Details: Use
getVisibleJiraProjects to find available projects
- Get Issue Types: Use
getJiraProjectIssueTypesMetadata to get available issue types (Epic, Story, Subtask)
- Create Issues: Use
createJiraIssue to create epics, stories, and subtasks
- Link Issues: Use
editJiraIssue to link epics to stories and stories to subtasks (subtasks are automatically linked via parent issue)
- Get Cloud ID: Use
getAccessibleAtlassianResources to get your Atlassian cloud ID
Workflow
1. Analyze Requirements Document
Analyze the requirements document to extract:
- Scope & Context: product/objective, in-scope vs out-of-scope, assumptions
- Actors & Personas: user types/roles and primary goals
- Functional Requirements: features, workflows, business rules, validations
- Non-Functional Requirements: performance, security, compliance, availability, observability
- Interfaces & Integrations: APIs, systems, data flows, dependencies
- Data Requirements: entities, fields, retention, privacy constraints
- Acceptance Criteria: explicit AC in the document; infer only when clearly implied
- Constraints: tech stack, deployment, environments, regulatory constraints
- Priorities & Milestones: MVP definition, priorities, deadlines (if present)
Output: Create an analysis summary with extracted requirements, proposed epics, and story candidates.
2. Generate JIRA Items
Based on the analysis, generate:
Epics:
- Title: Clear, business-focused epic name
- Description: Comprehensive epic description with business context
- Acceptance Criteria: High-level epic acceptance criteria
- Business Value: Business value and impact
- Dependencies: Dependencies on other epics or external factors
Stories:
- Title: User story format (As a... I want... So that...)
- Description: Detailed story description
- Acceptance Criteria: Specific, testable acceptance criteria
- Story Points: Story point estimation (Fibonacci scale: 1, 2, 3, 5, 8, 13)
- Priority: Story priority (High, Medium, Low)
- Epic Link: Link to parent epic
- Dependencies: Dependencies on other stories or tasks
Subtasks:
- Title: Clear subtask description
- Description: Detailed subtask description
- Acceptance Criteria: Subtask completion criteria
- Parent Issue: Link to parent story (set via parent field when creating subtask)
- Estimated Duration: Time estimate in hours
- Priority: Subtask priority
Output: Generate structured JIRA items in markdown format ready for JIRA creation.
3. Review with User
Present generated JIRA items to the user:
- Show epics with their stories and subtasks
- Display descriptions, acceptance criteria, and estimates
- Allow user to refine, add, or remove items
- Update items based on user feedback
4. Create in JIRA
Once user approves, create items in JIRA:
- Get Atlassian Cloud ID: Use
getAccessibleAtlassianResources to get cloud ID
- Get Project Details: Use
getVisibleJiraProjects to find target project
- Get Issue Types: Use
getJiraProjectIssueTypesMetadata to get Epic, Story, Subtask types
- Create Epics First: Create all epics using
createJiraIssue with issue type "Epic"
- Create Stories: Create stories linked to epics using
createJiraIssue with issue type "Story"
- Create Subtasks: Create subtasks linked to stories using
createJiraIssue with issue type "Subtask" and parent field set to the story key
- Link Issues: Use
editJiraIssue to establish epic-story relationships (subtasks are automatically linked via parent field)
Note: When creating issues, include:
- Summary (title)
- Description (markdown format)
- Issue type (Epic, Story, or Subtask)
- Parent field (for subtasks - set to parent story key)
- Additional fields as needed (priority, story points, etc.)
Key Principles
- Comprehensive Analysis: Extract all requirements, features, and user stories from the requirements document
- Agile Best Practices: Follow agile methodologies (Scrum/Kanban) and JIRA standards
- Complete Details: Include all standard JIRA fields (descriptions, estimates, dependencies)
- User Review: Always present items for user review before creating in JIRA
- MCP Integration: Use Atlassian MCP to create JIRA items with proper linking
- Subtask Parent Link: Subtasks must have a parent story specified via the parent field when creating
Example Output Structure
# Epic: User Authentication System
**Description**: Implement comprehensive user authentication and authorization system
**Business Value**: Enable secure access to the platform
**Acceptance Criteria**:
- Users can register and login
- Password reset functionality works
- Multi-factor authentication available
## Story: User Registration
**As a** new user **I want** to register an account **So that** I can access the platform
**Story Points**: 5
**Priority**: High
**Acceptance Criteria**:
- User can create account with email and password
- Email verification required
- Password strength validation enforced
### Subtask: Implement Registration API
**Description**: Create REST API endpoint for user registration
**Estimated Duration**: 8 hours
**Priority**: High
**Parent**: [Story Key]
Directory Structure (Optional)
If saving artifacts locally:
.jira-epic-docs/
├── requirements/ # Requirements document(s)
├── analysis/ # Requirements analysis
└── jira-items/ # Generated JIRA items
Notes
- Always get user confirmation before creating items in JIRA
- Verify project access and issue type availability before creation
- Handle errors gracefully and provide clear feedback
- Link epics to stories and set parent field for subtasks to stories for proper hierarchy
- Subtasks require a parent story to be created - ensure stories exist before creating subtasks
1---2name: jira-epic-generation-23description: Generate comprehensive JIRA epics, stories, and subtasks from a requirements document (PRD/BRD/SRS). Use when the user provides a requirements document and asks to create or draft JIRA issues.4---56# JIRA Epic & Story Generation78Generate comprehensive JIRA epics, stories, and subtasks from a requirements document using Atlassian MCP.910## When to Use1112- User provides a requirements document (PRD/BRD/SRS/requirements spec) and wants JIRA created13- User asks to convert written requirements into epics, stories, and subtasks14- User wants structured agile planning items from a requirements document1516## Overview1718This skill analyzes a requirements document and generates structured JIRA items (epics, stories, subtasks) with comprehensive agile details, then creates them in JIRA via Atlassian MCP.1920## MCP Server Integration2122### Atlassian MCP Server2324Use Atlassian MCP server for all JIRA operations:2526- **Get Project Details**: Use `getVisibleJiraProjects` to find available projects27- **Get Issue Types**: Use `getJiraProjectIssueTypesMetadata` to get available issue types (Epic, Story, Subtask)28- **Create Issues**: Use `createJiraIssue` to create epics, stories, and subtasks29- **Link Issues**: Use `editJiraIssue` to link epics to stories and stories to subtasks (subtasks are automatically linked via parent issue)30- **Get Cloud ID**: Use `getAccessibleAtlassianResources` to get your Atlassian cloud ID3132## Workflow3334### 1. Analyze Requirements Document3536Analyze the requirements document to extract:3738- **Scope & Context**: product/objective, in-scope vs out-of-scope, assumptions39- **Actors & Personas**: user types/roles and primary goals40- **Functional Requirements**: features, workflows, business rules, validations41- **Non-Functional Requirements**: performance, security, compliance, availability, observability42- **Interfaces & Integrations**: APIs, systems, data flows, dependencies43- **Data Requirements**: entities, fields, retention, privacy constraints44- **Acceptance Criteria**: explicit AC in the document; infer only when clearly implied45- **Constraints**: tech stack, deployment, environments, regulatory constraints46- **Priorities & Milestones**: MVP definition, priorities, deadlines (if present)4748**Output**: Create an analysis summary with extracted requirements, proposed epics, and story candidates.4950### 2. Generate JIRA Items5152Based on the analysis, generate:5354**Epics**:5556- Title: Clear, business-focused epic name57- Description: Comprehensive epic description with business context58- Acceptance Criteria: High-level epic acceptance criteria59- Business Value: Business value and impact60- Dependencies: Dependencies on other epics or external factors6162**Stories**:6364- Title: User story format (As a... I want... So that...)65- Description: Detailed story description66- Acceptance Criteria: Specific, testable acceptance criteria67- Story Points: Story point estimation (Fibonacci scale: 1, 2, 3, 5, 8, 13)68- Priority: Story priority (High, Medium, Low)69- Epic Link: Link to parent epic70- Dependencies: Dependencies on other stories or tasks7172**Subtasks**:7374- Title: Clear subtask description75- Description: Detailed subtask description76- Acceptance Criteria: Subtask completion criteria77- Parent Issue: Link to parent story (set via parent field when creating subtask)78- Estimated Duration: Time estimate in hours79- Priority: Subtask priority8081**Output**: Generate structured JIRA items in markdown format ready for JIRA creation.8283### 3. Review with User8485Present generated JIRA items to the user:8687- Show epics with their stories and subtasks88- Display descriptions, acceptance criteria, and estimates89- Allow user to refine, add, or remove items90- Update items based on user feedback9192### 4. Create in JIRA9394Once user approves, create items in JIRA:95961. **Get Atlassian Cloud ID**: Use `getAccessibleAtlassianResources` to get cloud ID972. **Get Project Details**: Use `getVisibleJiraProjects` to find target project983. **Get Issue Types**: Use `getJiraProjectIssueTypesMetadata` to get Epic, Story, Subtask types994. **Create Epics First**: Create all epics using `createJiraIssue` with issue type "Epic"1005. **Create Stories**: Create stories linked to epics using `createJiraIssue` with issue type "Story"1016. **Create Subtasks**: Create subtasks linked to stories using `createJiraIssue` with issue type "Subtask" and parent field set to the story key1027. **Link Issues**: Use `editJiraIssue` to establish epic-story relationships (subtasks are automatically linked via parent field)103104**Note**: When creating issues, include:105106- Summary (title)107- Description (markdown format)108- Issue type (Epic, Story, or Subtask)109- Parent field (for subtasks - set to parent story key)110- Additional fields as needed (priority, story points, etc.)111112## Key Principles113114- **Comprehensive Analysis**: Extract all requirements, features, and user stories from the requirements document115- **Agile Best Practices**: Follow agile methodologies (Scrum/Kanban) and JIRA standards116- **Complete Details**: Include all standard JIRA fields (descriptions, estimates, dependencies)117- **User Review**: Always present items for user review before creating in JIRA118- **MCP Integration**: Use Atlassian MCP to create JIRA items with proper linking119- **Subtask Parent Link**: Subtasks must have a parent story specified via the parent field when creating120121## Example Output Structure122123```markdown124# Epic: User Authentication System125126**Description**: Implement comprehensive user authentication and authorization system127**Business Value**: Enable secure access to the platform128**Acceptance Criteria**:129130- Users can register and login131- Password reset functionality works132- Multi-factor authentication available133134## Story: User Registration135136**As a** new user **I want** to register an account **So that** I can access the platform137**Story Points**: 5138**Priority**: High139**Acceptance Criteria**:140141- User can create account with email and password142- Email verification required143- Password strength validation enforced144145### Subtask: Implement Registration API146147**Description**: Create REST API endpoint for user registration148**Estimated Duration**: 8 hours149**Priority**: High150**Parent**: [Story Key]151```152153## Directory Structure (Optional)154155If saving artifacts locally:156157```158.jira-epic-docs/159├── requirements/ # Requirements document(s)160├── analysis/ # Requirements analysis161└── jira-items/ # Generated JIRA items162```163164## Notes165166- Always get user confirmation before creating items in JIRA167- Verify project access and issue type availability before creation168- Handle errors gracefully and provide clear feedback169- Link epics to stories and set parent field for subtasks to stories for proper hierarchy170- Subtasks require a parent story to be created - ensure stories exist before creating subtasks