ソースを参照

SONAR-19372 Add black box test for validating the anticipated transition on issues

tags/10.2.0.77647
Matteo Mara 10ヶ月前
コミット
80f13f494a
1個のファイルの変更14行の追加0行の削除
  1. 14
    0
      sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java

+ 14
- 0
sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java ファイルの表示

@@ -348,4 +348,18 @@ public class IssuesService extends BaseService {
.setParam("changedSince", request.getChangedSince())
).contentStream();
}

/**
* This is part of the internal API.
* This is a POST request.
*
* @see <a href="https://next.sonarqube.com/sonarqube/api/issues/anticipated_transitions">Further information about this action online (including a response example)</a>
* @since 10.2
*/
public int anticipatedTransitions(String projectKey, String body) {
return call(
new PostRequest(path("anticipated_transitions?projectKey=" + projectKey))
.setBody(body)).code();
}

}

読み込み中…
キャンセル
保存