When would you like to accomplish this query? You should be able to easily do this post sprint closure by looking at the sprint reports.
if you wanted to run a query of all bugs in the current open spread the following query should help.
project = xxx and type = Bug and sprint in opensprints()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.