diff --git a/dojo/filters.py b/dojo/filters.py index a97b61c7579..dabd1aec119 100644 --- a/dojo/filters.py +++ b/dojo/filters.py @@ -518,6 +518,7 @@ def get_finding_filterset_fields(*, metrics=False, similar=False, filter_string_ if get_system_setting("enable_jira"): fields.extend([ "has_jira_group_issue", + "has_any_jira_issue", ]) return fields @@ -1916,7 +1917,10 @@ def filter_endpoints(self, queryset, name, value): lookup_expr="isnull", exclude=True, label="Has Group JIRA") - has_any_jira = FindingHasJIRAFilter(label="Has Any JIRA") + has_any_jira_issue = FindingHasJIRAFilter( + label="Has Any JIRA Issue", + help_text="Matches JIRA issues linked to the finding itself or to the finding's group.", + ) outside_of_sla = FindingSLAFilter(label="Outside of SLA") has_tags = BooleanFilter(field_name="tags", lookup_expr="isnull", exclude=True, label="Has tags")