aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java2
-rw-r--r--sonar-ws-generator/src/main/resources/snapshot-of-api.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java
index 2852afebf3b..6bb64d140a7 100644
--- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java
+++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java
@@ -306,7 +306,7 @@ public class SearchAction implements IssuesWsAction {
action.createParam(PARAM_CREATED_AFTER)
.setDescription("To retrieve issues created after the given date (inclusive). <br>" +
"Either a date (use '" + PARAM_TIMEZONE + "' attribute or it will default to server timezone) or datetime can be provided. <br>" +
- "If this parameter is set, createdSince must not be set")
+ "If this parameter is set, createdInLast must not be set")
.setExampleValue("2017-10-19 or 2017-10-19T13:00:00+0200");
action.createParam(PARAM_CREATED_BEFORE)
.setDescription("To retrieve issues created before the given date (exclusive). <br>" +
diff --git a/sonar-ws-generator/src/main/resources/snapshot-of-api.json b/sonar-ws-generator/src/main/resources/snapshot-of-api.json
index c6f421ea15b..bf174e9153c 100644
--- a/sonar-ws-generator/src/main/resources/snapshot-of-api.json
+++ b/sonar-ws-generator/src/main/resources/snapshot-of-api.json
@@ -1878,7 +1878,7 @@
},
{
"key": "createdAfter",
- "description": "To retrieve issues created after the given date (inclusive). <br>Either a date (server timezone) or datetime can be provided. <br>If this parameter is set, createdSince must not be set",
+ "description": "To retrieve issues created after the given date (inclusive). <br>Either a date (server timezone) or datetime can be provided. <br>If this parameter is set, createdInLast must not be set",
"required": false,
"internal": false,
"exampleValue": "2017-10-19 or 2017-10-19T13:00:00+0200"