Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Find all issues in a project

Bob Jones June 3, 2015

Given a certain project, how can I programmatically return a list of all the issues in that project?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 3, 2015

Internally, the best thing to do is use one of the methods to basically run JQL.

There's a whole set of sample code for handling issue find, edit and commit over at  https://developer.atlassian.com/jiradev/jira-platform/issues/tutorial-jira-issue-crud-servlet-and-issue-search - look for the word "JqlClauseBuilder" and you'll quickly find code to build and run any JQL you want and get a list of issues to work with!

0 votes
Chander Inguva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2015

Hi Bob,

    Using SQL you can list them as below

select ID from project where pname='<project-name>';

Save the ID from above query.

select * from jiraissue where PROJECT= <ID from above query>;

 

Using REST API

Refer to the thread https://answers.atlassian.com/questions/119893

 

Using ISSUE Navigator JQL project=<>, you can compare the result set.

 

Hope this helps

Regards

Chander Inguva

 

Bob Jones June 3, 2015

How can I do this using the Java API?

TAGS
AUG Leaders

Atlassian Community Events