Interested in generating passive income? Join our partnership program and receive a commission on each new client referral. Learn more.
6 min read
Interested in generating passive income? Join our partnership program and receive a commission on each new client referral. Learn more.
At Redberry, we extensively use Github for most of our projects’ version control, development team collaboration, CI & CD pipelines, etc. We have also been using Jira for years to manage our projects. So the ultimate wedding – Github and Jira Integration – was inevitable.
Before setting up the integration, we faced problems with synchronization between Jira and Github. Ever had to chase down developers to update Jira and move cards from one column to another? Yeap, then you know what I am talking about.
But, we really needed to associate Jira cards with specific feature branches and commits on Github to easily understand which codebase changes contributed to the completion of which Stories/Tasks.
That led us to integrate Github and Jira so that Github acted as a single source of truth for Jira card statuses and also for the feature branches and commits getting automatically associated with the respective cards.
As a result, we arrived at the following Github-Jira automation:
If that sounds interesting, you can continue reading further to learn how the magic works.
Before we build the integration between these two platforms, let’s discuss the configuration process first.
First and foremost, install the Github app on Jira. Click “find new apps” and search for “Github for Jira”. Click “Get The App,” and Github will be added to Jira.
Next, configure the app to use it. Click “Get Started,” and you will get to a GitHub configuration page. This is where you connect certain GitHub groups and repositories to Jira and begin tracking your work.
Click “Connect GitHub organization” and authorize Jira. Then choose where you want to install it.
After the configuration is complete, you’ll need to set up automation rules for your project.
First, go to “Project Settings” and then to “Automation.”
You can start creating your automation rules here. Rules consist of Triggers, Conditions and Actions. For example, if you need to automatically move Jira issues to In Progress when a developer creates a feature branch and starts working on the task, you will need to add “Branch created” as a trigger and “Transition the issue to” as an action.
You can create and manage as many automation rules on Jira as you need and tailor them to your specific workflow and processes.
And that’s it. Your automation should be working fine.
Now, a few words on the usage process and how Github branches and commits get associated with the Jira issues.
The whole idea behind integrating Jira with Github is to always get up-to-date statuses on Jira with as little disruption of the software engineers’ normal development processes as possible.
From the developers’ perspective, it all works like this:
So the entire integration is based on the matching Issue IDs. Here’s an illustration to get a better idea of the process:
OM-6 is the issue ID given on Jira for this card. To ensure the automation follows through, we must create a branch on Github with a name containing the same issue ID.
If you would also like to associate commits to particular Jira issues, you must include the Jira issue ID in the commit message.
This will make your automation rules set up on Jira apply to the right cards.
To summarize, here are some of the essential benefits of Jira integration with Github
We are a 200+ people agency and provide product design, software development, and creative growth marketing services to companies ranging from fresh startups to established enterprises. Our work has earned us 100+ international awards, partnerships with Laravel, Vue, Meta, and Google, and the title of Georgia’s agency of the year in 2019 and 2021.