Documentation on Jira Gerrit Plugin

l April 25, 2016

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 "https://github.com/MeetMe/jira-gerrit-plugin/blob/master/README.md" 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

1 vote
jhansche June 20, 2016

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
TAGS
AUG Leaders

Atlassian Community Events