2

JIRA サーバーと通信したいです。

JIRA Client Framework とJIRA Rest Clientを使用したいと考えています。

final JerseyJiraRestClientFactory factory = new JerseyJiraRestClientFactory();
final URI jiraServerUri = new URI("https://issues.teamspace.local/jira");
final JiraRestClient restClient = factory.createWithBasicHttpAuthentication(jiraServerUri, "username", "password");

残念ながら、これを実行する方法がわかりませんし、Web で役立つものも見つかりません。

4

2 に答える 2

0

ここで設定された依存関係を確認してください

これがクライアントの作成方法です。

URI serverURI = new URL("url").toURI();
JiraRestClientFactory jiraFactory = new AsynchronousJiraRestClientFactory();
JiraRestClient client = jiraFactory.createWithBasicHttpAuthentication(serverURI,"username","password");

API のドキュメントは次のとおりです。

于 2016-06-27T19:22:27.750 に答える