JIRA integration doesn't work with JIRA project name starting with a number

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

when jira integration is activated on a gitlab project I can link issues to any JIRA project name starting with a letter but it doesn't work for project starting with a number.

For example, a commit description like this one "CICD-4 : test link" push a comment on jira ticket CICD-4 but a comment like this one " 508DEV-7 : test link" don't push any commit to jira ticket 508DEV-7.

we are using self-manage installation of gitlab and jira.

Steps to reproduce

  • create 2 jira projects, one with project key "CICD" and one with project key "508DEV"
  • create an issue on each project, should be CICD-1 and 508DEV-1
  • activate jira integration on a gitlab project
  • push a commit on gitlab project with description "CICD-1 : test link"
  • push a commit on gitlab project with description "508DEV-1 : test link"

What is the current bug behavior?

508DEV-1 jira issue doesn't have any comments added linking to gitlab commit CICD-1 jira issue have a comment

What is the expected correct behavior?

Both jira issue should be linked to gitlab commit

Edited by 🤖 GitLab Bot 🤖