Put jira wrapper into middleware