refactor(jiralink): update regex and refactor

Refactor script to be less brittle and more consistent with results,
update regex for better matching.