request can i use to get list of issues for each project ?

 

2 answers

Hi

Simply go to issue tab/menu and use project filter for each project. smile

You can save your search and use Filter Result gadget to see them separately on Dashboard.

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()); } }); } }

Add the JQL "Project = X" as part of the loop.

Hi smile finnaly i solve this issue it works laugh

0 votes

You may also view them from the database with the following SQL :

select * from jiraissue where pkey='JRA-3166';

information replace JRA-3166 with the appropriate project key.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

20,703 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you