Fix Error 500s creating merge requests with external issue tracker
When JIRA or Redmine were enabled and the branch name did not match the matching regular expression, the issue_iid
would be nil
, preventing
users from creating merge requests.
Closes #43193 (closed)