Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dojo/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down