October 18, 2013

Adding JIRA Users To Your Swarm

Healthcare
Helix Swarm

Swarm is designed to help software teams ship quality software faster and every day we add new, useful functionality. We recently got many requests to further enhance our JIRA integration and so we added a couple of enhancements which make life a whole lot better for those using both JIRA and Swarm. JIRA users can now see both the review and commit work developers are doing without ever needing to leave JIRA. This made a lot of our own project managers very happy because they could quickly tell the state of an issue without needing to go bug developers about and we think it will make a lot of you very happy too.

Introducing Swarm Links in JIRA

Swarm will automatically create or update any associated JIRA issues with links back to Swarm whenever a Perforce change is committed, a code review is created, or a code review is updated. Swarm associates the JIRA ticket either via Perforce jobs or via callouts to the JIRA issue number in the Swarm change or code review descriptions. Setting Job names to be JIRA numbers or using the Perforce Defect Tracking Gateway to replicate JIRA and Perforce Jobs can further enhance the experience but these are not required to have the links appear in Swarm.

Enhanced Linking from Swarm to JIRA

The JIRA project list is now fetched automatically; whereas prior to 2013.2 admins needed to hard-code the list of JIRA project IDs, these are now dynamically configured via settings in the config.php. This enhances the feature that allows Swarm to automatically link out to any Issues linked through changes or reviews.

To enable the JIRA module, add the following configuration block to your data/config.php file:

 <?php
    // this block should be a peer of 'p4''jira'=>array( 'host'=>'', // URL for your installed JIRA web interface'user'  =>'', // the username required for JIRA API access
        'password'  => '',// the password required for JIRA API access
        'job_field'=>'', // optional, if P4DTG is replicating JIRA issue IDs
                           // to a job field, list that field here
        'timeout'=>5,// optional, timeout for JIRA API requests, in seconds.
                           // Default is 5 seconds,
        ),
    ),

Get the Latest Swarm

Grab the latest version of Swarm (2013.2) from our downloads page and start taking advantage of JIRA and Swarm today!

Be sure to tell us what you think about Swarm in our Swarm forum.