I am using Gerrit and Jira. I want to connect with gerrit to Jira. When I review the code and comment something it will automatically update the jira comment as well. How to do this?

有帮助吗?

解决方案

In your gerrit.config file try this:

[commentlink "jira"]
match = ([A-Z]+-[0-9]+)
link = http://your.jirs_side.net/browse/$1

Here's more information regarding the commentlink section.

其他提示

Via this link you will find a list of several official gerrit plugins such as:

  • hooks-jira : Plugin to integrate with Atlassian JIRA
  • its-jira : Plugin to integrate with Atlassian JIRA. New project for 'plugins/hooks-jira'.
  • I personally use jirret, which is easy to understand and modify

I think you should use a plugin to connect Jira and gerrit. You can download a plugin by using below link. https://marketplace.atlassian.com/plugins/com.meetme.plugins.jira.gerrit-plugin

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top