diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2025-02-18 17:58:10 +0100 |
---|---|---|
committer | Lukasz Jarocki <lukasz.jarocki@sonarsource.com> | 2025-02-28 09:57:46 +0100 |
commit | f9c020579e8cef4595d6536cd43925577ec158f7 (patch) | |
tree | dfdff35b6626adb271c6f5bf137b93f673917376 /server | |
parent | 4ec620b84d346945a0e1271690f463507761774e (diff) | |
download | sonarqube-f9c020579e8cef4595d6536cd43925577ec158f7.tar.gz sonarqube-f9c020579e8cef4595d6536cd43925577ec158f7.zip |
SONAR-24399 inNewCodePeriod has no effect on portfolios when using api/issues/search
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java | 3 |
1 files changed, 2 insertions, 1 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 192106ee0bf..1d768a960ce 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 @@ -443,7 +443,8 @@ public class SearchAction implements IssuesWsAction { .setExampleValue("1m2w (1 month 2 weeks)"); action.createParam(PARAM_IN_NEW_CODE_PERIOD) .setDescription("To retrieve issues created in the new code period.<br>" + - "If this parameter is set to a truthy value, createdAfter must not be set and one component uuid or key must be provided.") + "If this parameter is set to a truthy value, createdAfter must not be set and one component uuid or key must be provided.<br>" + + "This parameter is ignored if the requested component is Application or Portfolio.") .setBooleanPossibleValues() .setSince("9.4"); action.createParam(PARAM_TIMEZONE) |