Commit a35ee1d
Fix: Suppress expected JIRA validation alerts when pushing (Fixes DefectDojo#12988) (DefectDojo#13974)
* Fix: Suppress expected JIRA validation alerts when auto-pushing
Fixes DefectDojo#12988
When 'Push all issues' is enabled at the engagement level, DefectDojo
attempts to automatically push all findings to JIRA during import/reimport.
This causes alerts to be created for every finding that cannot be pushed
due to expected validation failures (e.g., not verified, not active, below
minimum threshold).
These alerts flood the Alerts UI with noise since these are expected
conditions, not actual errors. The fix distinguishes between:
- Expected validation failures: Findings that aren't ready to be pushed
(not verified/active, below threshold, etc.) - these are logged but don't
create alerts
- Unexpected errors: Configuration issues, connection problems, etc. -
these still create alerts as they indicate real problems
This ensures users only see alerts for actual problems while still logging
expected validation failures for debugging purposes.
* fix
* Update dojo/jira_link/helper.py
Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com>
---------
Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com>1 parent 8669a4b commit a35ee1d
1 file changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
910 | 910 | | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
911 | 921 | | |
912 | 922 | | |
913 | | - | |
914 | | - | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
915 | 931 | | |
| 932 | + | |
916 | 933 | | |
917 | 934 | | |
918 | 935 | | |
| |||
0 commit comments