You might want to check out the “Sprint Issues balance” report that answers your question on how many of committed issues are completed in a sprint: Sprint issue balance - Issues - Jira Demo - eazyBI.
You can export report definition from the Demo account and import into your Jira to get this report.
Check out also those two community posts on similar use cases: