Workflow Automation in GitScrum | Setup Guide
Automate status changes, assignments, and notifications in GitScrum. Trigger-condition-action rules handle routine tasks so teams focus on building.
8 min read
Manual repetitive tasks waste developer time and introduce inconsistency. Workflow automation in GitScrum handles routine work automaticallyβmoving tasks, sending notifications, assigning workβso teams can focus on building software instead of managing process.
Automation Benefits
| Manual Process | Automated |
|---|---|
| Remember to update status | Status updates automatically |
| Notify people manually | Notifications triggered |
| Track due dates | Due dates calculated |
| Assign based on rules | Auto-assigned |
| Check for stale items | Automatic reminders |
Automation Basics
Trigger β Condition β Action
AUTOMATION STRUCTURE
ββββββββββββββββββββ
EVERY AUTOMATION HAS:
βββββββββββββββββββββββββββββββββββββ
1. TRIGGER
"When something happens..."
βββ Task created
βββ Status changed
βββ Field updated
βββ Due date approaching
βββ Time elapsed
βββ External event (webhook)
2. CONDITION (optional)
"If criteria met..."
βββ Task type is Bug
βββ Priority is High
βββ Label contains "urgent"
βββ Assignee is empty
βββ Sprint is current
3. ACTION
"Then do this..."
βββ Change status
βββ Assign to person
βββ Send notification
βββ Update field
βββ Add label
βββ Create linked task
EXAMPLE:
βββββββββββββββββββββββββββββββββββββ
TRIGGER: Status changed to "Code Review"
CONDITION: Assignee is not empty
ACTION:
βββ Notify Assignee
βββ Set Review Due Date to +24 hours
In plain English:
"When a task moves to Code Review,
notify the assignee and set review
due date to 24 hours from now."
Common Automations
Status-Based
STATUS CHANGE AUTOMATIONS
βββββββββββββββββββββββββ
1. AUTO-ASSIGN ON STATUS:
βββββββββββββββββββββββββββββββββββββ
Trigger: Status β "QA Testing"
Action: Assign to QA Lead
Reason: Route to right person automatically
2. NOTIFY ON BLOCKED:
βββββββββββββββββββββββββββββββββββββ
Trigger: Status β "Blocked"
Condition: Has blockedBy link
Action:
βββ Notify Project Manager
βββ Add "needs-attention" label
Reason: Surface blockers immediately
3. MOVE CHILD TASKS:
βββββββββββββββββββββββββββββββββββββ
Trigger: Parent Story β "Done"
Condition: Has incomplete subtasks
Action:
βββ Alert owner
βββ Keep parent in "In Review"
Reason: Don't close incomplete work
4. START β IN PROGRESS:
βββββββββββββββββββββββββββββββββββββ
Trigger: Assignee starts work (first activity)
Action: Status β "In Progress"
Reason: Automatic tracking, less manual
GITSCRUM SETUP:
βββββββββββββββββββββββββββββββββββββ
Project β Settings β Automations β Create
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Create Automation β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Name: Auto-assign QA β
β β
β WHEN: Status changes β
β TO: QA Testing β
β β
β THEN: Assign to β
β [QA Lead βΌ] β
β β
β β‘ Run on existing items β
β β
β [Cancel] [Create Automation] β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Time-Based
TIME-BASED AUTOMATIONS
ββββββββββββββββββββββ
1. DUE DATE WARNING:
βββββββββββββββββββββββββββββββββββββ
Trigger: Due date is 24 hours away
Condition: Status is not Done
Action:
βββ Notify assignee
βββ Add "due-soon" label
Reason: Don't miss deadlines
2. STALE TASK ALERT:
βββββββββββββββββββββββββββββββββββββ
Trigger: No updates for 3 days
Condition: Status is "In Progress"
Action:
βββ Notify assignee
βββ Notify team lead
βββ Add "stale" label
Reason: Surface stuck work
3. OVERDUE ESCALATION:
βββββββββββββββββββββββββββββββββββββ
Trigger: Due date passed
Condition: Status is not Done
Action:
βββ Notify project manager
βββ Priority β High
Reason: Escalate overdue items
4. SPRINT DUE DATES:
βββββββββββββββββββββββββββββββββββββ
Trigger: Task added to sprint
Action: Set due date to sprint end date
Reason: Automatic deadline
SCHEDULING:
βββββββββββββββββββββββββββββββββββββ
Some time triggers run on schedule:
βββ Daily at 9am: Check due dates
βββ Weekly: Find stale items
βββ Sprint end: Generate reports
βββ Custom schedules
Integration-Based
INTEGRATION AUTOMATIONS
βββββββββββββββββββββββ
1. PR MERGED β DONE:
βββββββββββββββββββββββββββββββββββββ
Trigger: GitHub PR merged
Condition: PR linked to task
Action: Status β "Done"
Reason: Automatic completion tracking
2. BUILD FAILED β ALERT:
βββββββββββββββββββββββββββββββββββββ
Trigger: CI/CD build failed
Condition: Task has branch linked
Action:
βββ Status β "Needs Fix"
βββ Notify assignee
Reason: Immediate feedback
3. DEPLOY β UPDATE STATUS:
βββββββββββββββββββββββββββββββββββββ
Trigger: Deployment to staging
Action:
βββ Status β "Testing"
βββ Add "deployed-staging" label
Reason: Deployment tracking
4. EXTERNAL WEBHOOK:
βββββββββββββββββββββββββββββββββββββ
Trigger: Webhook from external tool
Condition: Payload contains task ID
Action: Custom (based on payload)
Reason: Integrate any system
SETUP:
βββββββββββββββββββββββββββββββββββββ
Integrations β GitHub β Enable
βββ Automations trigger on GitHub events
Notification Automations
NOTIFICATION AUTOMATIONS
ββββββββββββββββββββββββ
1. ASSIGNMENT NOTIFICATION:
βββββββββββββββββββββββββββββββββββββ
Trigger: Assignee changed
Action: Notify new assignee
Message: "You've been assigned [Task] by [Changer]"
2. MENTION NOTIFICATION:
βββββββββββββββββββββββββββββββββββββ
Trigger: @mention in comment
Action: Notify mentioned person
Message: "[Mentioner] mentioned you in [Task]"
3. WATCHER NOTIFICATION:
βββββββββββββββββββββββββββββββββββββ
Trigger: Any update to watched task
Action: Notify watchers
Message: "[Task] was updated"
4. ESCALATION NOTIFICATION:
βββββββββββββββββββββββββββββββββββββ
Trigger: Priority changed to Critical
Action:
βββ Notify team channel
βββ Notify project manager
Message: "[Task] is now critical: [Title]"
5. DAILY DIGEST:
βββββββββββββββββββββββββββββββββββββ
Trigger: 9am daily
Action: Send digest of:
βββ Overdue tasks
βββ Due today
βββ Stale items
βββ Blockers
To: Each team member
Reason: Morning awareness
NOTIFICATION CHANNELS:
βββββββββββββββββββββββββββββββββββββ
βββ In-app notification
βββ Email
βββ Slack/Teams
βββ Mobile push
βββ Configure per automation
Best Practices
Automation Strategy
AUTOMATION STRATEGY
βββββββββββββββββββ
START SMALL:
βββββββββββββββββββββββββββββββββββββ
Week 1:
βββ 1-2 simple automations
βββ Status-based notifications
βββ Observe how they work
βββ Get team comfortable
Week 2-4:
βββ Add more based on need
βββ Address specific pain points
βββ Team suggests automations
βββ Refine existing
Ongoing:
βββ Review in retros
βββ Add as processes mature
βββ Remove unused
βββ Iterate
GOOD CANDIDATES:
βββββββββββββββββββββββββββββββββββββ
Automate if:
βββ Happens every time (rule-based)
βββ Currently manual and tedious
βββ Forgetting causes problems
βββ Consistent behavior desired
βββ Can be described as "when X, do Y"
Don't automate if:
βββ Requires judgment
βββ Exception-heavy
βββ Complex conditions
βββ Rarely happens
βββ Team pushback
TESTING AUTOMATIONS:
βββββββββββββββββββββββββββββββββββββ
Before enabling:
βββ Create test task
βββ Trigger automation
βββ Verify action happened
βββ Check edge cases
βββ Roll out to team
βββ Monitor for issues
Maintenance
AUTOMATION MAINTENANCE
ββββββββββββββββββββββ
REGULAR REVIEW:
βββββββββββββββββββββββββββββββββββββ
Monthly or quarterly:
βββ Are automations still useful?
βββ Any false triggers?
βββ Missing automations needed?
βββ Team feedback?
βββ Adjust or remove
AUDIT:
βββββββββββββββββββββββββββββββββββββ
List all automations:
βββ Document purpose
βββ Note last trigger
βββ Identify owners
βββ Remove orphaned
βββ Clean up cruft
AVOID AUTOMATION DEBT:
βββββββββββββββββββββββββββββββββββββ
Signs of problems:
βββ No one knows why it exists
βββ Triggers unexpectedly
βββ Conflicts with other automations
βββ Blocks legitimate actions
βββ Team works around it
Fix: Review, simplify, or remove.
GitScrum Setup
Creating Automations
GITSCRUM AUTOMATION SETUP
βββββββββββββββββββββββββ
NAVIGATION:
βββββββββββββββββββββββββββββββββββββ
Project β Settings β Automations
LIST VIEW:
βββ All project automations
βββ Enable/disable toggle
βββ Edit/delete
βββ View trigger history
βββ Create new
CREATING:
βββββββββββββββββββββββββββββββββββββ
1. Click "Create Automation"
2. Select trigger type
3. Configure trigger details
4. Add conditions (optional)
5. Select actions
6. Test with sample
7. Enable
TEMPLATES:
βββββββββββββββββββββββββββββββββββββ
Pre-built automations:
βββ Notify on blocked
βββ Auto-assign on status
βββ Due date reminders
βββ Stale task alerts
βββ PR merge β Done
βββ Choose and customize
HISTORY:
βββββββββββββββββββββββββββββββββββββ
View automation runs:
βββ When triggered
βββ What task
βββ What action taken
βββ Success/failure
βββ Debug issues
Best Practices
For Automation
Anti-Patterns
AUTOMATION MISTAKES:
β Automate everything immediately
β Complex chains that break
β No one knows why it exists
β Conflicting automations
β Over-notification fatigue
β Never reviewing/cleaning up
β Replacing necessary human judgment
β Automating bad processes