query jira using python