Skip to content

Trim leading and trailing whitespace from Jira username upon save

What does this MR do?

If leading or trailing whitespace exists for the supplied username for the jira integration, trim it before saving

Are there points in the code the reviewer needs to double check?

Trim the whitespace or validate against it? I think it's safe to trim and guard against an invalid value being supplied.

Why was this MR needed?

Can lead to confusion if usernames with spaces are persisted and the Jira configuration does not work because of this

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #36495

Merge request reports