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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

86 views 0 5
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