Integrating JetBrain’s TeamCity with JIRA and Bitbucket

Atlassian has always focused heavily on providing API’s for their tools, to allow integration by third parties. One way they do this is by keeping their tools open to integration with other tools. Integrations can open up a whole new world of automation with Atlassian tools. Some actions that can be achieved by integrating Atlassian products with other tools are creating an issue from a failed build, reporting an outage on HipChat and much more. 

Atlassian tools are extremely able to be integrated and their out of the box usability can be extended by other top performing DevOps tools. In this instance, we will explain the integration points between JetBrain’s TeamCity and Atlassian’s JIRA and Bitbucket. 

TeamCity

TeamCity is a build management and continuous integration server from JetBrains, that is completely Java basedTeamCity can build, check and run automated tests on a server, before committing any changes. Ensuring that your code base is clean, at all times. By constantly tracking different stages of your build, TeamCity can build reports on that data and have it ready for you to view, at anytime. This allows TeamCity to instantly notify you about any build problems or large changes that have been made. 


TeamCity automatically contacts and assigns an agent to work on a new build, when it is shown that a new build is needed. The process thereafter is simple and for the following example, we will layout the process for a Maven build. The agent simply check’s the TeamCity repository, performs the build and keeps track of the artifact. 

The default configuration in TeamCity is to schedule a build automatically. However, when you configure TeamCity with Bitbucket, you can schedule the build to start on each push. TeamCity also has the ability to communicate with JIRA. Once integrated, TeamCity creates issues for failed builds and JIRA then pulls information needed for the ticket, about each build. In this blog, we will see how to configure TeamCity with JIRA and Bitbucket. 


Related Content
Man working on laptop, free public domain CC0 photo
Enhancing Accessibility in Jira & Confluence with Unstoppable
Discover how Unstoppable enhances accessibility in Jira and Confluence, making these tools more inclusive...
addteq_fb_product4-1
Editable Excel Sheet in Confluence: Best Tools & Methods
Learn how to import and edit an Excel sheet in Confluence. Discover the best tools, including Excellentable,...
Excellentable collaborative editing
Unlock the power of Pivot Tables in Confluence with Excellentable
Discover how to enhance your Confluence experience by creating dynamic pivot tables with Excellentable....

Leave a Reply

Your email address will not be published. Required fields are marked *