Workflow Automations | Triggers, Conditions, Actions
Set up GitScrum automations: auto-move cards on PR merge, auto-assign on column change, notifications on due dates. Save hours weekly with trigger-based rules.
6 min read
Manual workflow steps slow teams down and introduce errors. GitScrum's workflow automations handle repetitive tasks automaticallyβmoving cards, assigning work, sending notifications, and more. Well-configured automations save hours every week while ensuring nothing falls through the cracks.
Automation Benefits
| Manual Process | Automated Result |
|---|---|
| Move card when PR merged | Auto-moves to Done |
| Assign reviewer | Auto-assigned based on rules |
| Send status updates | Scheduled notifications |
| Apply labels | Auto-labeled by type |
| Set due dates | Calculated from start |
Automation Structure
Rule Components
AUTOMATION RULE STRUCTURE
βββββββββββββββββββββββββ
TRIGGER: WHEN this happens
β
CONDITION(s): IF these are true
β
ACTION(s): DO this
EXAMPLE:
βββββββββββββββββββββββββββββββββββββ
TRIGGER: Task status β "Done"
CONDITION: Task type = "Bug"
ACTIONS:
βββ Add label "fixed"
βββ Notify QA channel
βββ Assign to QA lead
βββββββββββββββββββββββββββββββββββββ
Available Triggers
AUTOMATION TRIGGERS
βββββββββββββββββββ
TASK EVENTS:
βββ Task created
βββ Task status changed
βββ Task assigned
βββ Task unassigned
βββ Task moved to project
βββ Task due date set
βββ Task completed
LABEL EVENTS:
βββ Label added
βββ Label removed
βββ Specific label applied
TIME EVENTS:
βββ Due date approaching
βββ Due date passed
βββ Scheduled (cron)
βββ No activity for X days
INTEGRATION EVENTS:
βββ PR opened
βββ PR merged
βββ PR closed
βββ Build failed
βββ Deploy completed
βββ Comment added
Available Actions
AUTOMATION ACTIONS
ββββββββββββββββββ
TASK MODIFICATIONS:
βββ Change status
βββ Set/update field
βββ Add label
βββ Remove label
βββ Set due date
βββ Set priority
βββ Add checklist
ASSIGNMENT:
βββ Assign to user
βββ Assign to team
βββ Unassign
βββ Add watcher
βββ Round-robin assign
NOTIFICATIONS:
βββ Send email
βββ Post to Slack
βββ Create notification
βββ Send webhook
βββ Comment on task
RELATIONSHIPS:
βββ Create subtask
βββ Link tasks
βββ Move to project
βββ Add to sprint
βββ Archive task
Common Automation Recipes
Development Workflow
DEV WORKFLOW AUTOMATIONS
ββββββββββββββββββββββββ
RULE 1: Auto-assign on start
βββββββββββββββββββββββββββββββββββββ
Trigger: Task status β "In Progress"
Condition: Task unassigned
Action: Assign to person who moved it
RULE 2: PR to In Review
βββββββββββββββββββββββββββββββββββββ
Trigger: PR opened (linked task)
Condition: Task in "In Progress"
Action: Move task to "In Review"
RULE 3: Merge to Done
βββββββββββββββββββββββββββββββββββββ
Trigger: PR merged (linked task)
Condition: None
Actions:
βββ Move task to "Done"
βββ Add label "shipped"
βββ Notify #releases channel
RULE 4: Failed build alert
βββββββββββββββββββββββββββββββββββββ
Trigger: Build failed
Condition: Task in "In Review"
Actions:
βββ Add label "build-failed"
βββ Assign back to developer
βββ Notify task assignee
Sprint Management
SPRINT AUTOMATIONS
ββββββββββββββββββ
RULE: Sprint start notifications
βββββββββββββββββββββββββββββββββββββ
Trigger: Sprint starts
Condition: None
Actions:
βββ Post sprint goals to Slack
βββ Email team members
βββ Update dashboard
RULE: Incomplete items handling
βββββββββββββββββββββββββββββββββββββ
Trigger: Sprint ends
Condition: Task not done
Actions:
βββ Add label "carryover"
βββ Move to next sprint
βββ Notify sprint owner
RULE: Velocity calculation
βββββββββββββββββββββββββββββββββββββ
Trigger: Sprint ends
Condition: None
Actions:
βββ Calculate completed points
βββ Update velocity chart
βββ Archive completed tasks
Bug Management
BUG WORKFLOW AUTOMATIONS
ββββββββββββββββββββββββ
RULE: New bug triage
βββββββββββββββββββββββββββββββββββββ
Trigger: Task created with label "bug"
Condition: None
Actions:
βββ Add to Triage board
βββ Set priority: medium (default)
βββ Notify QA lead
βββ Add bug template checklist
RULE: Critical bug escalation
βββββββββββββββββββββββββββββββββββββ
Trigger: Label "priority:critical" added
Condition: Type = bug
Actions:
βββ Assign to on-call developer
βββ Notify #critical-bugs Slack
βββ Set SLA due date (+4 hours)
βββ Add to Critical Dashboard
RULE: Bug verification
βββββββββββββββββββββββββββββββββββββ
Trigger: Task status β "Fixed"
Condition: Type = bug
Actions:
βββ Assign to original reporter
βββ Add label "needs-verification"
βββ Set due date (+2 days)
Configuration Interface
Creating Rules
AUTOMATION RULE BUILDER
βββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β New Automation Rule β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Name: [Auto-assign on In Progress ] β
β β
β WHEN β
β βββββββββββββββββββββββββββββββββββββββββββββ β
β β Task status changes to [In Progress βΌ] β β
β βββββββββββββββββββββββββββββββββββββββββββββ β
β β
β IF (optional conditions) β
β βββββββββββββββββββββββββββββββββββββββββββββ β
β β Assignee [is empty βΌ] β β
β β [+ Add condition] β β
β βββββββββββββββββββββββββββββββββββββββββββββ β
β β
β THEN β
β βββββββββββββββββββββββββββββββββββββββββββββ β
β β Assign to [Actor (who triggered) βΌ] β β
β β [+ Add action] β β
β βββββββββββββββββββββββββββββββββββββββββββββ β
β β
β [Cancel] [Save Rule] β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
Rule Management
AUTOMATION RULES LIST
βββββββββββββββββββββ
Project: Website Redesign
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Rule β Trigger β Status β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Auto-assign on start β Status β β Active β
β PR merge to Done β Integration β β Active β
β Bug triage assignment β Label β β Active β
β Stale task reminder β Time β βΈ Paused β
β Sprint carryover β Sprint β β Active β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β [+ Create Rule] β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
RUN HISTORY:
βββ Today: 23 rule executions
βββ This week: 145 executions
βββ [View Logs]
Best Practices
For Workflow Automation
Anti-Patterns
AUTOMATION MISTAKES:
β Too many rules (complexity)
β Conflicting automations
β No testing before deploy
β Automating everything
β No documentation
β Ignoring failure logs
β Not involving the team