In this video I show how to execute JQL:
Search on the internet how you build your particular JQL and then parse JSON.