Fix to JiraService creating new issues where all issues are marked not exploitable
@@ -967,6 +967,7 @@ public class JiraService {
}
} else {
/*Create the new issue*/
+ if(!currentIssue.isAllFalsePositive()) {
if (!jiraProperties.isChild() || !parentCheck(xIssue.getKey(), issuesParent)) {
if (jiraProperties.isChild()) {
@@ -979,6 +980,7 @@ public class JiraService {
log.info("New issue created. #{}", newIssue);
}
}
+ }
} catch (RestClientException e) {
log.error("Error occurred while processing issue with key {}", xIssue.getKey(), e);
log.error(ExceptionUtils.getStackTrace(e));
