Using Github Actions for Jira Integrations
In 2015 Atlassian introduced the Developer tools Integration between bitbucket and Jira Software. This included Smart Commit. Atlassian has continued to integrate DevOps platforms like Jenkins, TravisCI and CircleCI into Jira Software.
Smart commits provide developers the option to perform their Jira tasks right from the command line. Adding comments, logging time and transitioning issue without having to change tools.
There are many online tutorials that guiding people through smart commit integrations, how to use them and how to set them up. Depending on your version of Jira and what version control system you want to integrate with (e.g., Github, Gitlab, Bitbucket) you will likely need a plugin (add-on) from the Atlassian Marketplace. Atlassian has some really nice documentation if you would like more details, https://support.atlassian.com/bitbucket-cloud/docs/use-smart-commits/.
Beyond smart commits the Developer Tools also has the ability to display deployment and build information. Jira extended the developer tools section in the issue view to accomodate the additional artifacts.
The developer tool interface is used to view and perform repository actions. You can create branches, view commits and merges, even see build / deployment statuses. The connection of code to an issues gives insight into the development lifecycle for a specific ticket, helping to break down the barriers to communication.
When you have to move fast, knowing that a feature or bug fix (issue) has passed a build step, or a deployment has been done, is key. Jira integrates with Bitbucket really well; which is to be expected, being produced by the same company. But what about Github, one of the most popular version control systems.
When it comes to Github and its integrations with Jira, there are many options. Github and other third-party vendors have created Jira Marketplace application that connects Github repository data to Jira Softwares’ developer tools for both Jira cloud and server.
In our research, focusing on Jira Cloud, we found that none of these applications will cover all the functionality native to the Jira – Bitbucket integration. Github has published a free app (Github for Jira) that will cover the smart commit, but lacks features for surfacing Github workflow build and deployment information. There are many other Jira Applications to integrate Github data with Jira, Git Integration for Jira and Dev Info for Jira. These cover all the native features between Jira and Bitbucket; but, at a cost.
Github actions are well suited to surface the Github build and deployment information in Jira. When Github registers an event (pull, push, merge, deploy, build) we can use a Github action to push data into the corresponding Jira issue.
We have created a pair of actions that push build and deployment information from Github (Github workflows) into Jira, filling the feature gab and at no cost to you.
To leverage the full power of Jira’s Developer Tools while hosting your repository in Github, you have to put in some work. Whether you prefer the Github community, its look and feel, or you are an entrenched entity in its ecosystem; you can still get all there is out of Jira.Contact Us
References:Jira Upload Deployment Info
Jira Upload Build Info
Atlassian Smart Commit Docs