Automate GitHub PRs & JIRA updates from Git commit commands-single repo
This n8n template from [Intuz](https://www.intuz.com/) delivers a complete and automated solution to streamline your development workflow for a single repository. By embedding specific keywords and a JIRA issue ID wit...
Template notes
This n8n template from [Intuz](https://www.intuz.com/) delivers a complete and automated solution to streamline your development workflow for a single repository.
By embedding specific keywords and a JIRA issue ID within your git commit commands, this workflow automatically creates a Pull Request in GitHub and simultaneously updates the corresponding JIRA ticket. This provides a complete, seamless integration that eliminates manual steps and keeps your project management perfectly in sync with your codebase.
How it works
This workflow acts as a powerful bridge between your Git repository and your project management tools, driven entirely by the structure of your commit messages.
1. GitHub Webhook Trigger: The workflow starts when a developer pushes a new commit to a specified repository in GitHub.
2. Parse Commit Message: A Code node extracts key information from the commit message:
- The JIRA Issue Key (e.g., FF-1196). - The base branch for the PR (e.g., development). - Action commands like [auto-pr] and [taskcompleted].
3. Conditional PR Creation: An IF node checks if the [auto-pr] command is present.