declare jira_query in external.py