Skip to main content

User Story Management and Integration

Core Agent provides comprehensive user story management capabilities, including integration with project management tools like Jira, automated story extraction from designs, and intelligent story generation from application screenshots. This enables seamless conversion of requirements into actionable test cases and development tasks.

Jira Integration​

Connecting to Jira​

Core Agent can connect to Jira instances to extract user stories, epics, and tasks, providing a direct bridge between project management and test automation.

Authentication Setup​

# Jira Configuration
jira_config:
server_url: "https://your-company.atlassian.net"
authentication:
type: "api_token" # or "oauth", "basic_auth"
username: "[email protected]"
api_token: "your-api-token"

project_settings:
default_project: "ECOM"
issue_types: ["Story", "Epic", "Task", "Bug"]
custom_fields:
- "acceptance_criteria"
- "test_scenarios"
- "business_value"

Story Extraction Process​

🎫 Jira Integration Workflow:
β”œβ”€β”€ πŸ” Connect to Jira instance
β”œβ”€β”€ πŸ“‹ Query stories by project/filter
β”œβ”€β”€ πŸ“Š Extract story details and metadata
β”œβ”€β”€ πŸ§ͺ Analyze acceptance criteria
β”œβ”€β”€ 🎯 Identify test scenarios
└── πŸ“ Generate test cases and documentation

Story Analysis and Processing​

Story Structure Recognition​

πŸ“ Jira Story Analysis:
β”œβ”€β”€ Story Title and Description
β”œβ”€β”€ Acceptance Criteria (Given-When-Then)
β”œβ”€β”€ Story Points and Priority
β”œβ”€β”€ Labels and Components
β”œβ”€β”€ Linked Issues and Dependencies
β”œβ”€β”€ Comments and Attachments
└── Custom Fields and Metadata

Example: Jira Story Processing​

🎫 ECOM-456: User Account Registration

πŸ“‹ Story Details:
- Type: Story
- Priority: High
- Story Points: 5
- Sprint: Sprint 23
- Assignee: John Developer
- Reporter: Jane Product Owner

πŸ“ Description:
"As a new user, I want to create an account on the e-commerce platform
so that I can save my preferences and track my orders."

βœ… Acceptance Criteria:
1. Given I am on the registration page
When I enter valid email, password, and personal details
Then my account should be created successfully

2. Given I am registering with an existing email
When I submit the registration form
Then I should see an error message "Email already exists"

3. Given I enter an invalid email format
When I submit the registration form
Then I should see validation error for email format

πŸ§ͺ Generated Test Cases:
β”œβ”€β”€ βœ… Valid User Registration
β”œβ”€β”€ ❌ Registration with Existing Email
β”œβ”€β”€ ❌ Registration with Invalid Email Format
β”œβ”€β”€ ❌ Registration with Weak Password
β”œβ”€β”€ πŸ”’ Registration Without Required Fields
└── πŸ“Š Registration with Various Data Combinations

Bulk Story Processing​

# Bulk Story Extraction Configuration
bulk_extraction:
query: "project = ECOM AND status IN ('To Do', 'In Progress') AND type = Story"
batch_size: 50
processing_options:
extract_acceptance_criteria: true
generate_test_cases: true
create_test_data: true
link_dependencies: true

output_format:
test_suites: "feature_based"
documentation: "markdown"
traceability_matrix: "excel"

filters:
priority: ["High", "Medium"]
components: ["User Management", "Shopping Cart", "Payment"]
labels: ["testing-required", "automation-candidate"]

Figma Design Integration​

Design Analysis Capabilities​

Core Agent can analyze Figma designs to extract UI components, user flows, and generate corresponding user stories and test cases.

Figma API Integration​

# Figma Configuration
figma_config:
api_token: "your-figma-api-token"
team_id: "your-team-id"

analysis_settings:
extract_components: true
identify_interactions: true
analyze_user_flows: true
generate_responsive_tests: true

supported_elements:
- buttons
- forms
- navigation
- modals
- dropdowns
- image_galleries
- data_tables

Design-to-Story Generation Process​

🎨 Figma Analysis Workflow:
β”œβ”€β”€ πŸ”— Connect to Figma file/project
β”œβ”€β”€ πŸ“Š Extract design components and layouts
β”œβ”€β”€ πŸ” Identify interactive elements
β”œβ”€β”€ πŸ—ΊοΈ Map user interaction flows
β”œβ”€β”€ πŸ“ Generate user stories from interactions
β”œβ”€β”€ πŸ§ͺ Create corresponding test cases
└── πŸ“‹ Build comprehensive test plans

Practical Example: E-commerce Checkout Flow​

Figma Design Analysis​

🎨 Figma File: "E-commerce Checkout Flow"

πŸ” Identified Screens:
β”œβ”€β”€ πŸ“„ Shopping Cart Review
β”œβ”€β”€ 🚚 Shipping Information
β”œβ”€β”€ πŸ’³ Payment Details
β”œβ”€β”€ πŸ“‹ Order Summary
└── βœ… Confirmation Page

πŸ–±οΈ Interactive Elements Detected:
β”œβ”€β”€ Quantity Selectors (+ / - buttons)
β”œβ”€β”€ Remove Item Buttons
β”œβ”€β”€ Shipping Method Radio Buttons
β”œβ”€β”€ Payment Method Selection
β”œβ”€β”€ Credit Card Form Fields
β”œβ”€β”€ Promo Code Input
β”œβ”€β”€ Place Order Button
└── Continue Shopping Link

πŸ“± Responsive Breakpoints:
β”œβ”€β”€ Desktop: 1200px+
β”œβ”€β”€ Tablet: 768px - 1199px
└── Mobile: 320px - 767px

Generated User Stories​

πŸ“ Generated User Stories from Figma Design:

🎫 ECOM-501: Shopping Cart Quantity Management
"As a customer, I want to adjust item quantities in my cart
so that I can purchase the exact amount I need."

Acceptance Criteria:
βœ… User can increase quantity using + button
βœ… User can decrease quantity using - button
βœ… Quantity cannot go below 1
βœ… Price updates automatically when quantity changes
βœ… Total cart value recalculates correctly

🎫 ECOM-502: Shipping Method Selection
"As a customer, I want to choose my preferred shipping method
so that I can balance cost and delivery speed."

Acceptance Criteria:
βœ… Multiple shipping options are displayed with costs
βœ… User can select one shipping method
βœ… Delivery estimates are shown for each option
βœ… Total order cost updates with shipping selection
βœ… Default shipping method is pre-selected

🎫 ECOM-503: Payment Information Entry
"As a customer, I want to securely enter my payment details
so that I can complete my purchase."

Acceptance Criteria:
βœ… Credit card form validates card number format
βœ… Expiry date validation prevents past dates
βœ… CVV field is masked for security
βœ… Billing address can be same as shipping
βœ… Payment form shows security indicators

Application Screenshot Analysis​

Screenshot Processing Capabilities​

Core Agent can analyze application screenshots to understand existing functionality and generate corresponding user stories and test cases.

Screenshot Analysis Process​

πŸ“Έ Screenshot Analysis Workflow:
β”œβ”€β”€ πŸ–ΌοΈ Upload application screenshots
β”œβ”€β”€ πŸ” Identify UI elements and components
β”œβ”€β”€ πŸ“Š Analyze layout and information architecture
β”œβ”€β”€ 🎯 Infer user interactions and workflows
β”œβ”€β”€ πŸ“ Generate user stories for identified features
β”œβ”€β”€ πŸ§ͺ Create test cases for functionality
└── πŸ“‹ Build regression test suites

Element Recognition Technology​

πŸ€– AI-Powered Element Detection:
β”œβ”€β”€ Buttons and Clickable Elements
β”œβ”€β”€ Form Fields and Input Controls
β”œβ”€β”€ Navigation Menus and Links
β”œβ”€β”€ Data Tables and Lists
β”œβ”€β”€ Modal Dialogs and Popups
β”œβ”€β”€ Image Galleries and Carousels
β”œβ”€β”€ Search Bars and Filters
└── Status Indicators and Badges

Example: Mobile App Screenshot Analysis​

Screenshot Input​

πŸ“± Mobile App Screenshots: "Food Delivery App"

πŸ–ΌοΈ Analyzed Screens:
β”œβ”€β”€ 🏠 Home Screen (Restaurant listings)
β”œβ”€β”€ πŸ• Restaurant Detail Page
β”œβ”€β”€ πŸ›’ Menu and Cart
β”œβ”€β”€ πŸ“ Delivery Address Selection
└── πŸ’³ Payment and Checkout

Generated Analysis Report​

πŸ“Š Screenshot Analysis Report:

πŸ” Identified Features:
β”œβ”€β”€ Restaurant Search and Filtering
β”œβ”€β”€ Menu Item Selection and Customization
β”œβ”€β”€ Shopping Cart Management
β”œβ”€β”€ Address and Location Services
β”œβ”€β”€ Payment Processing
β”œβ”€β”€ Order Tracking
└── User Account Management

πŸ–±οΈ Interactive Elements:
β”œβ”€β”€ Search Bar with Filter Options
β”œβ”€β”€ Restaurant Cards (Clickable)
β”œβ”€β”€ Add to Cart Buttons
β”œβ”€β”€ Quantity Selectors
β”œβ”€β”€ Customization Options (Size, Toppings)
β”œβ”€β”€ Address Selection Map
β”œβ”€β”€ Payment Method Cards
└── Order Status Indicators

πŸ“± Mobile-Specific Patterns:
β”œβ”€β”€ Bottom Navigation Tabs
β”œβ”€β”€ Swipe Gestures for Image Galleries
β”œβ”€β”€ Pull-to-Refresh on Restaurant List
β”œβ”€β”€ Floating Action Button for Cart
└── Modal Overlays for Item Details

Generated User Stories​

πŸ“ User Stories from Screenshot Analysis:

🎫 FOOD-101: Restaurant Discovery
"As a hungry customer, I want to browse nearby restaurants
so that I can find food options that appeal to me."

Acceptance Criteria:
βœ… Restaurants are displayed with photos and ratings
βœ… Filter options include cuisine type, price range, delivery time
βœ… Search functionality works with restaurant names and food types
βœ… Location-based sorting shows nearest restaurants first
βœ… Restaurant cards show key information (rating, delivery fee, time)

🎫 FOOD-102: Menu Item Customization
"As a customer, I want to customize my food order
so that I can get exactly what I want."

Acceptance Criteria:
βœ… Menu items show customization options (size, toppings, etc.)
βœ… Price updates automatically with customizations
βœ… Special instructions field is available
βœ… Dietary restrictions and allergen info is displayed
βœ… Add to cart button is prominent and functional

🎫 FOOD-103: Cart Management
"As a customer, I want to review and modify my order
before checkout so that I can ensure it's correct."

Acceptance Criteria:
βœ… Cart shows all selected items with customizations
βœ… Quantity can be adjusted for each item
βœ… Items can be removed from cart
βœ… Subtotal, taxes, and delivery fees are clearly displayed
βœ… Promo codes can be applied and validated

Integration Workflows​

End-to-End Story Processing​

name: story-to-test-pipeline
description: Complete pipeline from story extraction to test execution

steps:
- name: story-extraction
sources: ["jira", "figma", "screenshots"]
actions:
- extract_stories: "all_active_sprints"
- analyze_acceptance_criteria: "detailed_parsing"
- identify_test_scenarios: "comprehensive_coverage"

- name: test-generation
actions:
- generate_functional_tests: "positive_and_negative"
- create_integration_tests: "api_and_ui"
- build_performance_tests: "load_scenarios"
- generate_test_data: "realistic_datasets"

- name: test-organization
actions:
- create_test_suites: "story_based_grouping"
- setup_execution_order: "dependency_aware"
- configure_environments: "multi_environment"

- name: documentation
actions:
- generate_test_plans: "comprehensive_coverage"
- create_traceability_matrix: "story_to_test_mapping"
- build_execution_reports: "detailed_results"

Cross-Platform Story Analysis​

# Multi-Source Story Integration
integration_config:
sources:
jira:
projects: ["ECOM", "MOBILE", "API"]
issue_types: ["Story", "Epic", "Task"]

figma:
teams: ["Design Team", "UX Research"]
projects: ["Web App", "Mobile App"]

screenshots:
applications: ["Production App", "Staging App"]
platforms: ["Web", "iOS", "Android"]

consolidation:
merge_duplicate_stories: true
resolve_conflicts: "manual_review"
maintain_source_links: true

output:
unified_backlog: "priority_ordered"
test_coverage_matrix: "comprehensive"
execution_roadmap: "sprint_aligned"

User story management with Core Agent provides seamless integration between project management tools, design systems, and test automation, ensuring comprehensive coverage from requirements to execution.