What This Workflow Does
This automation solves the common pain point of manual pull request creation and JIRA ticket updates in multi-repository development environments. Developers often waste time switching between GitHub, JIRA, and their terminals to maintain proper workflow documentation. This n8n template eliminates those manual steps by parsing git commit messages for specific commands and automatically creating GitHub pull requests while updating corresponding JIRA tickets.
The workflow supports multiple repositories simultaneously, making it ideal for teams working with microservices or frontend/backend separation. It maintains consistency across all codebases while adapting to each repository's specific branch protection rules and JIRA project configurations.
How It Works
1. Git commit parsing
The workflow monitors your git repositories for new commits containing specific trigger patterns. These might include JIRA ticket references (like PROJ-123) or special commands like [PR] to indicate pull request creation.
2. GitHub PR creation
When a qualifying commit is detected, the automation creates a GitHub pull request with the appropriate base and compare branches. It formats the PR title and description using information extracted from the commit message and any linked JIRA tickets.
3. JIRA ticket updates
For commits referencing JIRA tickets, the workflow updates the ticket status, adds a comment with commit details, and links to the newly created PR. This maintains full traceability between code changes and project tracking.
Who This Is For
This automation delivers the most value for:
- DevOps teams managing multiple repositories
- Agile development teams using JIRA for project tracking
- Engineering managers seeking to standardize workflows
- Open source maintainers handling contributions
- QA teams needing traceability between code and tickets
What You'll Need
- n8n instance (self-hosted or cloud)
- GitHub repository admin access
- JIRA project admin permissions
- Git commit message conventions established
- Webhook access to your git repositories
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure GitHub and JIRA credentials
- Set up repository webhooks
- Define your commit message triggers
- Test with sample commits
Pro tip: Start with a test repository to validate your commit message patterns before rolling out to production codebases.
Key Benefits
Save 5-10 minutes per PR: Eliminate manual PR creation and formatting while ensuring consistent documentation across all repositories.
Never forget a JIRA update: Automatic ticket linking means project managers always see current status without chasing developers.
Standardize multi-repo workflows: Maintain identical processes across frontend, backend, and microservice repositories.
Improve code review quality: Automated PR descriptions give reviewers complete context without back-and-forth questions.
Reduce onboarding time: New team members benefit from enforced workflow standards without memorizing manual steps.