Improve deployment information from the GitLab.com for Jira Cloud app
Background
As outlined in #334953 (closed) and #341108 (closed) 40% of deployment events sent from GitLab to Jira have an environment type as unmapped
. This has lead to a number of support tickets for atlassian and a lackluster integration experience for GitLab+Jira customers.
What does this MR do and why?
This PR applies a small improvement to the gitlab environment name => jira environment type logic by extending the regex matching. This was inspired by similar improvements to the GitHub+Jira integration. While this doesn't solve the fully solve the problem for customers I believe it is still a valuable bandaid fix for now - I hope that in the future we can explore the proposal to use deployment_tier in this transformation
Notes
I am not familiar with ruby and have not been able to set up the dev environment to run this code, the tests or the linter. I am hoping a gitlab dev could help take over this change to get it ready for merge. Thanks team!