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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 9 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi 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...

33 views 0 5
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