Refactor resolve function for JIRA issues