[Frontend] Suggest available Jira issues when editing a Merge Request title or description
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
As part of &7542 we need to suggest Jira tickets to autocomplete on issues and merge requests.
Proposal
- When the feature flag is enabled.
- And the project has Jira integration.
- When a user types in text that matches the an integrated Jira project's code, for example
JRE.- Then show an autocomplete dropdown with the Jira ticket numbers and titles.
- When a user types in text that matches the start of a Jira ticket, for example
JRE-11.- Then show an autocomplete dropdown with the Jira tickets that match the entered text, for example
JRE-110, JRE-111.
- Then show an autocomplete dropdown with the Jira tickets that match the entered text, for example
- When a user clicks on a suggestion, insert the Jira ticket reference into the textfield.
A note on Jira ticket formatting. The ticket reference is always in all caps, contains a dash and ends in a number.
Implementation
frontend weight of
Edited by 🤖 GitLab Bot 🤖
