リスト形式のJavaコードからの出力があります
public class getProjectList {
final String username = "username";
final String password = "password";
final String ProjectNames = null;
public getProjectList() throws URISyntaxException, InterruptedException, ExecutionException {
final URI jiraserverURI = new URI("https://jira.xxxx.com");
final JiraRestClientFactory restClientfactory = new AsynchronousJiraRestClientFactory();
final JiraRestClient restClient =
restClientfactory.createWithBasicHttpAuthentication(jiraserverURI,username,password);
final Iterable<BasicProject> allproject = restClient.getProjectClient().getAllProjects().get();
final String ProjectNames = allproject.toString();
System.out.println(ProjectNames);
}
}
このコードからの出力をドロップダウン メニュー項目として使用したいと考えています。これには助けが必要です。ありがとうございました