Validate against trailing spaces in Jira Username configuration
Trying to integrate gitlab with jira I was scratching my head on why it didn't run (w/o any sensible information in neither the logs nur the ui after performing a test). Turns out you can enter trailing spaces in the
Username field and gitlab doesn't sanitize the input unlike it does seem to perform for the project key.
Username input the way the
Project key already seems to be.
Links / references
What is it? a minor change Why should someone use this feature? If they are dumb like me. What is the underlying (business) problem? Sanity check, UI feedback. How do you use this feature? angrily.
People who have to use Jira because they can't have gitlab web-exposed (and can't afford all the additional licenses) and who can't risk having customers accessing code.
Make sure these are completed before closing the issue, with a link to the relevant commit.