Fix colon not allowed in JIRA issue label
Fix colon ':' char being replaced by an underscore '_' when setting a JIRA label field, this can affect the ability of setting values in a label with colons.
@@ -673,7 +673,7 @@ public class JiraService {
String[] l = StringUtils.split(value, ",");
list = new ArrayList<>();
for (String x : l) {
- list.add(x.replaceAll("[^a-zA-Z0-9-_]+", "_"));
+ list.add(x.replaceAll("[^a-zA-Z0-9:-_]+", "_"));
}
if (!ScanUtils.empty(list)) {
