Fix issues in actions documentation
Action documentation contains multiple issues:
1. Soya comments are not fully supported because its-jira plugin doesn't
deploy soya templates. Remove soya comments from default configuration.
2. Correct value for labels is approvalCodeReview instead of
approval-Code-Review
3. Remove extra character from "abandoned" rule
Bug: Issue 13049
Change-Id: If628d24cc523cd2b5cdba1182bbe95cb96f25dd0
diff --git a/src/main/resources/Documentation/config.md b/src/main/resources/Documentation/config.md
index 62a30df..ce864de 100644
--- a/src/main/resources/Documentation/config.md
+++ b/src/main/resources/Documentation/config.md
@@ -149,20 +149,20 @@
[rule "open"]
event-type = patchset-created
- action = add-velocity-comment inline Change ${its.formatLink($changeUrl)} is created.
+ action = add-standard-comment
action = In Progress
[rule "resolve"]
event-type = comment-added
- approval-Code-Review = 2
- action = add-velocity-comment inline Change ${its.formatLink($changeUrl)} is verified.
+ approvalCodeReview = 2
+ action = add-standard-comment
action = In Review
[rule "merged"]
event-type = change-merged
- action = add-velocity-comment inline Change ${its.formatLink($changeUrl)} is merged.
+ action = add-standard-comment
action = Done
[rule "abandoned"]
- event-type = change-abandoned'
- action = add-velocity-comment inline Change ${its.formatLink($changeUrl)} is abandoned.
+ event-type = change-abandoned
+ action = add-standard-comment
action = To Do
The first rule triggers an action which adds a comment and a hyperlink to the change created
@@ -171,14 +171,6 @@
in Jira to `In Progress`. The title of the action `In Progress` should match the workflow actions
used by the JIRA server as different versions of JIRA can have different workflow actions.
-**Note:** Velocity comments were deprecated in Gerrit 2.14 and will be removed in Gerrit 2.16/3.0;
-the `actions-@Plugin@.config` needs to be changed accordingly. For example, to use Soy comments
-instead of velocity comments:
-
- [rule "open"]
- event-type = patchset-created
- action = add-soy-comment Change ${its.formatLink($changeUrl)} is created.
- action = In Progress
Multiple Jira servers integration
---------------------------------
@@ -257,4 +249,4 @@
```
action = mark-property-as-released-version ref
-```
\ No newline at end of file
+```