Documentation on Jira Gerrit Plugin

Hi Team,

We are currently in a plan to implement JIRA Gerrit plugin for our jira.

As a part of that we are on the testing phase of the plugin.

Could you please provide the documentation on how the plugin works and how to configure it.

In "" link we could find the detailed description on how it works.

So please provide a document to know further the detailed working of the plugin.

1 answer

There is no "document" to describe the inner workings of the plugin. The source code is available for that.

What it does is run the "query" command on the gerrit server via SSH, using the search query term as configured in the plugin's configuration page, substituting the currently viewed JIRA issue for the `%s`.  Depending on the options (NOTE: see issue described below) set up in the web panel (i.e., current issue only, issue and subtasks, only open issues;  and currently open Gerrit reviews vs closed reviews), it will list the associated Gerrit reviews, along with the current scores for each review (if any). Only the most significant score will appear, in this order:  1) the most negative review if there are any; 2) the most positive score if there are no negative scores.  For example, if the review has a +1 and a -1, only the -1 will appear in the list.  If there are no negative scores, and it has a +1 and a +2, then only the +2 will appear.

There is currently an issue in some 7.x versions of JIRA where the web panel does not show the drop-down list of options. The extension point must have changed, and the plugin has not yet been updated to deal with the changes.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

131 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you