Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

chore: issue comment PATCH changes (#3850)

Bavisetti Narayanbc6e48fcd6f6
diff --git a/apiserver/plane/api/views/issue.py b/apiserver/plane/api/views/issue.py
index 0905ae1f7d..bf3313779c 100644
--- a/apiserver/plane/api/views/issue.py
+++ b/apiserver/plane/api/views/issue.py
@@ -716,9 +716,9 @@ class IssueCommentAPIEndpoint(WebhookMixin, BaseAPIView):
# Validation check if the issue already exists
if (
- str(request.data.get("external_id"))
+ request.data.get("external_id")
and (issue_comment.external_id != str(request.data.get("external_id")))
- and Issue.objects.filter(
+ and IssueComment.objects.filter(
project_id=project_id,
workspace__slug=slug,
external_source=request.data.get(