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"
Related Documentationβ
- Test Case Generation - Converting stories to test cases
- Rules and Workflows - Automating story processing workflows
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.