Replace commentLink.html with commentLink.link during init
When running the init step, allow the its-jira plugin to suggest
the configuration changes for commentLink.link rather than
using the commentLink.html which has been removed in Gerrit
since I66e9c83dff.
Bug: Issue 363019833
Change-Id: I6bc51df5efea025ecbf335fe3aa826b265d666a7
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/jira/InitJira.java b/src/main/java/com/googlesource/gerrit/plugins/its/jira/InitJira.java
index ccab69c..28b9d6c 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/its/jira/InitJira.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/its/jira/InitJira.java
@@ -115,9 +115,7 @@
ui.header("Jira issue-tracking association");
jiraComment.string("Jira issue-Id regex", "match", "([A-Z]+-[0-9]+)");
jiraComment.string(
- "What html would you like to use?",
- "html",
- String.format("<a href=\"%s/browse/$1\">$1</a>", jiraUrl));
+ "What link would you like to use?", "link", String.format("%s/browse/$1", jiraUrl));
Section pluginConfig = sections.get("plugin", pluginName);