Pergunta

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?

Foi útil?

Solução

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.

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top