Skip to content

Automatic Parent Task Status Updates Based on Children #6

@MadTinker

Description

@MadTinker

Overview

Implement automatic status updates for parent tasks based on the status of their children tasks.

Requirements

Status Logic

  • Parent marked 'in_progress' when first child starts
  • Parent progress percentage calculated from completed children
  • Parent marked 'completed' only when ALL children are completed
  • Handle blocked/cancelled children appropriately

Configuration Options

  • Configurable rules for different parent-child relationships
  • Option to disable auto-updates for specific tasks
  • Custom rules for different task types (epic vs task)

Progress Calculation

  • Weighted progress based on child task complexity/points
  • Simple count-based progress (default)
  • Visual progress indicators in UI

Edge Cases

  • What happens when children are cancelled?
  • How to handle blocked children?
  • Parent status when children have mixed statuses
  • Manual override capabilities

Implementation Details

  • Database triggers for status changes
  • Event-driven updates via task status events
  • Batch processing for large hierarchies
  • Rollback mechanism for incorrect updates

Dependencies

Acceptance Criteria

  • Parent status automatically reflects children progress
  • Configurable rules for different scenarios
  • Performance optimized for large hierarchies
  • Manual override when needed
  • Comprehensive test coverage

Priority

High - Critical for automated task management

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions