Affected Version: https://gerrit.googlesource.com/plugins/hooks-rtc/+/master/src/main/resources/Documentation/config.md
Note: I could have missed something, so issues below could be invalid - but this is how I found it working on my test system. Using RTC 4.0.3, and Gerrit 2.7 - running in eclipse. After updating according to below, the integration works fine! Did not yet try the action stuff though.
1. Some issues in the example entry (starting at line 46):
**Example:**
[commentLink "RTC"]
match = RTC#([0-9]*)
html = "<a href=\"https://rtc.gerritforge.com:9443/ccm/browse/$1\">$1</a>"
association = OPTIONAL
a. The match expression will cause an incorrect number exception; suggest using e.g. \\([RTC][ ]*([1-9][0-9]*)\\) instead. And with text example "Fix for issue (RTC 12345)".
b. The url is not correct, should be html = "<a href=\"https://<server>:9443/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/$1\">(RTC $1)</a>"
2. One issues in the example entry (starting at line 63)
**Example:**
[rtc]
url=https://rtc.gerritforge.com:9443/ccm
username=rtcuser
passsword=rtcpass
If you (as I ...) copy this, you might miss that "password=" only should have two s :)
3. The values for the HTTP/S and network setting "sslVerify" is context sensitive - i.e. should be set to "false" not "FALSE" if you want to for example test with a site with no/incorrect server certificate. Likely so with the other settings as well ..?
Affected Version: https://gerrit.googlesource.com/plugins/hooks-rtc/+/master/pom.xml
4. The pom.xml contained build execution dependency to wsdl2java (as below) - I got error as "Plugin execution not covered by lifecycle configuration" .. commented out. Also dependency to jira (lines above) not needed, right?
<!--
<executions>
<execution>
<id>wsdl2java-generation</id>
<phase>generate-sources</phase>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
-->