extracting JIRA call to a separate class