From a93e13f0c2fefa4f4954d4feaefb42627285d0b3 Mon Sep 17 00:00:00 2001 From: Henit Chobisa Date: Mon, 12 Aug 2024 12:51:13 +0530 Subject: [PATCH] fix: unable to added issues to a completed cycle --- apiserver/plane/api/views/cycle.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apiserver/plane/api/views/cycle.py b/apiserver/plane/api/views/cycle.py index 18b030eec07..8bb8f5a3962 100644 --- a/apiserver/plane/api/views/cycle.py +++ b/apiserver/plane/api/views/cycle.py @@ -672,17 +672,6 @@ def post(self, request, slug, project_id, cycle_id): workspace__slug=slug, project_id=project_id, pk=cycle_id ) - if ( - cycle.end_date is not None - and cycle.end_date < timezone.now().date() - ): - return Response( - { - "error": "The Cycle has already been completed so no new issues can be added" - }, - status=status.HTTP_400_BAD_REQUEST, - ) - # Get all CycleIssues already created cycle_issues = list( CycleIssue.objects.filter(