Git Integration | Connect to Project Tasks
Connect GitHub, GitLab, and Bitbucket to GitScrum tasks. Link commits, branches, and PRs directly to project work for unified development tracking.
5 min read
When Git repositories and project management live in separate worlds, teams lose visibility into what code supports which tasks. GitScrum integrates with GitHub, GitLab, and Bitbucket to connect commits, branches, and pull requests directly to tasks.
The Disconnection Problem
Separate Git and project management creates friction:
- Manual updates β Marking tasks complete after merges
- Lost context β No visibility into which commits support which tasks
- Duplicate effort β Writing PR descriptions and task updates
- Audit gaps β Tracing features back to original requirements
- Reporting overhead β Manually correlating code and task progress
GitScrum Git Integrations
Connect your repositories to GitScrum:
Supported Platforms
| Platform | Features |
|---|---|
| GitHub | Commits, branches, PRs, issues sync |
| GitLab | Commits, branches, MRs, issues sync |
| Bitbucket | Commits, branches, PRs |
What Gets Connected
- Commits linked to tasks via task ID in commit message
- Branches tracked per task
- Pull/Merge Requests visible in task timeline
- Status changes reflected automatically
Setting Up Git Integration
GitHub Setup
GitLab Setup
Bitbucket Setup
Linking Commits to Tasks
Use task IDs in commit messages to link:
Commit Message Format
git commit -m "Add user authentication [GS-234]"
Alternative Formats
# Short form
git commit -m "Fix login bug #234"
# With description
git commit -m "Implement OAuth flow
Adds Google OAuth support for user authentication.
Closes GS-234"
# Multiple tasks
git commit -m "Refactor auth module [GS-234] [GS-235]"
What Appears in GitScrum
Task #234: Implement OAuth login
βββ Status: In Progress
βββ Git Activity:
β βββ Commit abc123: "Add user authentication [GS-234]"
β βββ Branch: feature/oauth-login
β βββ PR #45: "OAuth Implementation" (Open)
βββ Last updated: 5 minutes ago
Branch Tracking
GitScrum tracks branches associated with tasks:
Branch Naming Convention
feature/GS-234-oauth-login
bugfix/GS-456-login-error
hotfix/GS-789-security-patch
Branch Visibility
- See active branches per task
- Track branch status (open, merged, deleted)
- View branch history in task timeline
Pull Request Integration
PR Visibility in Tasks
When PRs reference task IDs:Task #234: Implement OAuth login
βββ Pull Requests:
β βββ #45: "OAuth Implementation"
β βββ Status: Open
β βββ Author: @developer
β βββ Reviewers: @senior-dev
β βββ Checks: β All passing
β βββ Comments: 3
Automatic Status Updates
Configure auto-transitions:- PR opened β Task moves to "In Review"
- PR merged β Task moves to "Done"
- PR closed β Task returns to "In Progress"
Activity Timeline
Each task shows Git activity chronologically:
Task #234: Implement OAuth login
Timeline:
βββ Dec 18, 10:00 β PR #45 merged by @senior-dev
βββ Dec 18, 09:30 β PR #45 approved by @senior-dev
βββ Dec 17, 16:00 β PR #45 opened by @developer
βββ Dec 17, 15:45 β Commit def456: "Add OAuth callback handling"
βββ Dec 17, 14:00 β Commit abc123: "Add OAuth initialization"
βββ Dec 16, 10:00 β Branch feature/GS-234-oauth-login created
βββ Dec 15, 09:00 β Task created by @pm
Bidirectional Linking
From GitScrum to Git
- View commits, branches, PRs in task details
- Click through to GitHub/GitLab/Bitbucket
- See PR status and review comments
From Git to GitScrum
- Add links to tasks in PR descriptions
- See task context when reviewing PRs
- Access task requirements from commit history
Best Practices
Commit Message Standards
Branch Strategy
PR Workflow
Automation Opportunities
Auto-Move Tasks on Git Events
| Git Event | Task Transition |
|---|---|
| Branch created | To Do β In Progress |
| PR opened | In Progress β Code Review |
| PR approved | Code Review β Ready to Merge |
| PR merged | Ready to Merge β Done |
| PR closed (not merged) | Code Review β In Progress |
Webhook Notifications
Send Git events to GitScrum:- Commit pushes
- PR status changes
- Branch creation/deletion
- Review requests