Automatic Creation of JIRA Issues from SonarQube Code Scan with Tasktop Gateway

Posted by

Tasktop Gateway can be used to meet a wide variety of integration needs. In this short video, I will demonstrate how Tasktop Gateway can be used to bring Continuous Quality Assurance into your integration landscape by integrating SonarQube with Atlassian JIRA.

SonarQube is a continuous code quality inspection tool. It scans your source code and analyzes it for potential defects, code smells, and other issues. Tasktop Gateway provides a REST endpoint that accepts artifacts into an integration. In the example in the video, posting to the REST endpoint results in the creation of a new JIRA issue. A simple SonarQube plugin that I wrote in Java runs after each scan and posts new issues to this REST endpoint.

Adding other ALM tools, such as IBM Rational Team Concert or Microsoft Team Foundation Server, to this integration can be done easily with a few simple configuration changes in Tasktop Gateway. The SonarQube plugin does not need to be updated, because the Gateway REST endpoint remains the same.