Move some common operations into the Jira class