It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Thank you for your request , but i need to do that using Java language and API JIRA, i had already list Projets and Issues , now i need to retrieve issues foreach projets? ==>This is methods Getting Projects and Isuues that i'm using public void comboProjects(){ ProjectRestClient client = restClient.getProjectClient(); for (final BasicProject expected : client.getAllProjects().claim()) { Promise<Project> promise = client.getProject(expected.getSelf()); promise.then(new FutureCallback<Project>() { public void onSuccess(Project actual) { //equals(expected.getKey()); promises.add(actual); System.out.println(expected.getName()); }public void onFailure(Throwable e) { System.out.println("error: " + e.getMessage()); } });}} // ==> method get Isues Promise<SearchResult> searchJqlPromise = restClient .getSearchClient() .searchJql("fixVersion is empty"); //.searchJql("project = Gestion courrier AND reporter = fzahrazacraoui",1,0,issues); public void comboIssues(){ Promise<SearchResult> promise = restClient .getSearchClient() .searchJql("fixVersion is empty"); //.searchJql("project = Gestion courrier AND reporter = fzahrazacraoui",1,0,issues); for (final Issue issue : promise.claim().getIssues()) { promise.then(new FutureCallback<SearchResult>() { public void onSuccess(SearchResult result) { equals(issue.getSelf()); issues.add(issue); //searchResults.add(actual); System.out.println(issue.getSummary()); } public void onFailure(Throwable e) { System.out.println("error: " + e.getMessage()); } }); } }
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreHi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.