Marking a MR as draft disables the JIRA link in MR title the but removing the Draft mark does not restore the JIRA link

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

Summary

Marking a MR as draft disables the JIRA link in the MR title the but removing the draft mark does not restore the JIRA link: just stays the JIRA ID text

Steps to reproduce

  1. Active the JIRA integration service in the Gitlab project
  2. Create a MR with a JIRA ID specified in the MR title
  3. You can see by moving over the JIRA ID in the title that a hyperlink pointing to your JIRA instance + JIRA ID is present
  4. Mark the MR as draft : the hyperlink is removed (it remains the JIRA ID and the rest of the title)
  5. Put back the MR as ready (remove the Draft mark) and the hyperlink is not put back

Example Project

N/A

What is the current bug behavior?

The hyperlink is removed when the Draft mark is put

What is the expected correct behavior?

The hyperlink should stay even when the Draft mark is put

Relevant logs and/or screenshots

N/A

Output of checks

I could reproduce also the same issue on GitLab.com

Results of GitLab environment info

N/A

Results of GitLab application Check

N/A

Possible fixes

N/A

Edited by 🤖 GitLab Bot 🤖