⚙️ Automate GitHub PRs & JIRA updates from Git commit commands-single repo

767 views · ⚙️ DevOps & CI/CD

💡 Pro Tip — If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.

View All Scrapers

Description

This n8n template from Intuz 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:

  1. Conditional PR Creation: An IF node checks if the [auto-pr] command is present.
  1. Conditional JIRA Update: Another IF node checks for the [taskcompleted] command.

How to Use: Quick Start Guide

  1. Click the “Use Template” button to import this workflow into your n8n instance.

  2. Configure the GitHub Trigger:

  1. Connect Your Accounts:
  1. Customize the JIRA Transition (Important):
  1. Activate the Workflow: Save your changes and activate the workflow. You’re ready to automate!

Example Commit Message:

git commit -m “FF-1196 Implement OAuth login [auto-pr,development,taskcompleted]“

Key Requirements to Use Template

Connect with us

For Custom Worflow Automation

Click here- Get Started

🔗 Nodes Used

Github Trigger, HTTP Request, Jira Software, Stop and Error

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup