I am not yet aware about a query, but the Sprint Report does incluse the information:
Sprint Report Sprint xxx
Closed Sprint, ended by xyz 22/Aug/14 6:27 PM - 26/Sep/14 7:23 PM
If you click on: Completed Sprint: "View the Sprint Report for this sprint" on an issue that was handled with the sprint, you can find it quite easily.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot