Support comment visibility
Previously, its-jira post comment without specifying visibility so
comments are visible to all Jira users. Some administrator would
restrict Gerrit comment visibility to a set of authorized people, based
on role or group.
This change allows Gerrit administrator or project maintainer to set a
specific visibility for automatic comment.
A typical configuration in project.config or gerrit.config will look
like:
[plugin "its-jira"]
visibilityType = group
visibilityValue = AllDevs
If keys are missing, comments are posted without any visibility
restrictions.
Change-Id: Iddf86e098fbf9aa40e289110c28fe71ca317f6b5
8 files changed