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 (mcp__user-Atlassian__*)
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
- 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
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
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]
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-generation3description: 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 Server (mcp__user-Atlassian__*)2324Use 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 subtasks30- **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### 3. Review with User8283Present generated JIRA items to the user:8485- Show epics with their stories and subtasks86- Display descriptions, acceptance criteria, and estimates87- Allow user to refine, add, or remove items88- Update items based on user feedback8990### 4. Create in JIRA9192Once user approves, create items in JIRA:93941. **Get Atlassian Cloud ID**: Use `getAccessibleAtlassianResources` to get cloud ID952. **Get Project Details**: Use `getVisibleJiraProjects` to find target project963. **Get Issue Types**: Use `getJiraProjectIssueTypesMetadata` to get Epic, Story, Subtask types974. **Create Epics First**: Create all epics using `createJiraIssue` with issue type "Epic"985. **Create Stories**: Create stories linked to epics using `createJiraIssue` with issue type "Story"996. **Create Subtasks**: Create subtasks linked to stories using `createJiraIssue` with issue type "Subtask" and parent field set to the story key1007. **Link Issues**: Use `editJiraIssue` to establish epic-story relationships101102**Note**: When creating issues, include:103104- Summary (title)105- Description (markdown format)106- Issue type (Epic, Story, or Subtask)107- Parent field (for subtasks - set to parent story key)108- Additional fields as needed (priority, story points, etc.)109110## Key Principles111112- **Comprehensive Analysis**: Extract all requirements, features, and user stories from the requirements document113- **Agile Best Practices**: Follow agile methodologies (Scrum/Kanban) and JIRA standards114- **Complete Details**: Include all standard JIRA fields (descriptions, estimates, dependencies)115- **User Review**: Always present items for user review before creating in JIRA116- **MCP Integration**: Use Atlassian MCP to create JIRA items with proper linking117- **Subtask Parent Link**: Subtasks must have a parent story specified via the parent field when creating118119## Example Output Structure120121```markdown122# Epic: User Authentication System123124**Description**: Implement comprehensive user authentication and authorization system125**Business Value**: Enable secure access to the platform126**Acceptance Criteria**:127128- Users can register and login129- Password reset functionality works130- Multi-factor authentication available131132## Story: User Registration133134**As a** new user **I want** to register an account **So that** I can access the platform135**Story Points**: 5136**Priority**: High137**Acceptance Criteria**:138139- User can create account with email and password140- Email verification required141- Password strength validation enforced142143### Subtask: Implement Registration API144145**Description**: Create REST API endpoint for user registration146**Estimated Duration**: 8 hours147**Priority**: High148**Parent**: [Story Key]149```150151## Notes152153- Always get user confirmation before creating items in JIRA154- Verify project access and issue type availability before creation155- Handle errors gracefully and provide clear feedback156- Link epics to stories and set parent field for subtasks to stories for proper hierarchy157- Subtasks require a parent story to be created - ensure stories exist before creating subtasks