diff --git a/apiserver/plane/api/views/project.py b/apiserver/plane/api/views/project.py index 5c6ea3fd1..2510c4ade 100644 --- a/apiserver/plane/api/views/project.py +++ b/apiserver/plane/api/views/project.py @@ -156,6 +156,13 @@ class ProjectViewSet(BaseViewSet): project_id=serializer.data["id"], member=request.user, role=20 ) + if serializer.data["project_lead"] is not None: + ProjectMember.objects.create( + project_id=serializer.data["id"], + member_id=serializer.data["project_lead"], + role=20, + ) + # Default states states = [ {