Merge branch 'stable-3.0' into stable-3.1 * stable-3.0: Fix issues in actions documentation Change-Id: I24e4642f1b8d249a226f1957cacee827d51ca125
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 +```