Fix JIRA integration issue closing

Merged Drew Blessing requested to merge dblessing/gitlab-ee:fix_jira_issue_closing into 8-1-stable-ee

This is related to !45 (merged) and fixes #67 (closed)

This represents a minimal fix from !45 (merged) necessary to get 8.1 working with JIRA integration.