# Workflow Definitions
# Defines state machines for work items with transitions and validation rules
#
# NOTE: A 'Default Workflow' is automatically created by Plane when the
# workflows feature is enabled. Do not define a default workflow here.
# This file should contain ONLY custom workflows.
#
# Reference: States are referenced by name from states.yaml
# State groups: backlog, unstarted, started, completed, cancelled
#
# Transition Types:
# - type: 'transition' (direct state change)
# - type: 'approval' (requires approvers before transition)
#
# Optional transition fields:
# - required_approvals: number of approvals needed (null = all approvers required)
# - approvers: list of user emails who can approve
# - pre_rules: pre-validation scripts
# - post_rules: post-action scripts

# Example: Custom Workflow for Feature Development
# Uncomment and customize for your workflow:
#
# workflows:
#   Feature Workflow:
#     description: Workflow optimized for feature development with QA and UAT stages
#     is_active: false
#     is_default: false
#     work_item_types:
#       - Feature
#
#     states:
#       - Backlog
#       - Ready
#       - In Progress
#       - In Review
#       - Testing
#       - Done
#
#     transitions:
#       Backlog:
#         - to: Ready
#           type: transition
#
#       Ready:
#         - to: In Progress
#           type: transition
#         - to: Backlog
#           type: transition
#
#       In Progress:
#         - to: In Review
#           type: transition
#
#       In Review:
#         - to: Testing
#           type: transition
#         - to: In Progress
#           type: transition
#
#       Testing:
#         - to: Done
#           type: transition
#         - to: In Review
#           type: transition
#
#       Done: {}

# Example: Bug Triage Workflow
# Uncomment and customize for your workflow:
#
#   Bug Triage Workflow:
#     description: Simplified workflow for bug tracking and resolution
#     is_active: false
#     is_default: false
#     work_item_types:
#       - Bug
#
#     states:
#       - Backlog
#       - In Progress
#       - In Review
#       - Done
#
#     transitions:
#       Backlog:
#         - to: In Progress
#           type: transition
#
#       In Progress:
#         - to: In Review
#           type: transition
#         - to: Backlog
#           type: transition
#
#       In Review:
#         - to: Done
#           type: transition
#         - to: In Progress
#           type: transition
#
#       Done: {}

workflows: {}
