[WEB-4958] fix: archived issues in epic anlaytics count #4234

This commit is contained in:
Sangeetha
2025-09-18 20:26:50 +05:30
committed by GitHub
parent 2a6f18bdbd
commit d50737997a

View File

@@ -811,7 +811,9 @@ class EpicListAnalyticsEndpoint(BaseAPIView):
)
# fetch all the issues in which user is part of
issues = Issue.objects.filter(workspace__slug=slug, project_id=project_id)
issues = Issue.objects.filter(
workspace__slug=slug, project_id=project_id, archived_at__isnull=True
)
result = []
for epic_id in epics: