Try parsing the JIRA ticket from the title of the pull if the head.ref doesn't contain one