Query by project

Topics: Query Format
Dec 9, 2013 at 1:51 PM
Edited Dec 9, 2013 at 1:52 PM
How can I query issues by project?

at documentation i found only query by assignee (assigned_to_id)
Coordinator
Dec 9, 2013 at 3:29 PM
Edited Dec 9, 2013 at 3:40 PM
That's easy. Use project_id= followed by the project ID or its unique name. The other option is to use yourserver.com/projects/(name_or_id)/issues/ as URL.

To limit the number of issues displayed in your task list use limit= followed by a number.

You can test your query in browser.

You can also generate more sophisticated queries using the Filters form on Redmine Issues page. Configure filters, click Apply and copy the query (the url part coming after ?) from the address bar of your browser.

Note that Redmine generates very long queries. You can simplify them by hand if you want.
Marked as answer by lmn on 12/9/2013 at 8:29 AM
Coordinator
Feb 13, 2014 at 5:08 AM
You can also save your query in Redmine and access it by its id (yourserver.com/issues?query_id=1).

Check if your role has a permission to save queries at Administration → Roles → Permissions.
Feb 13, 2014 at 11:06 PM
Thank you. I managed to get all working correctly