From 9847b9d2c2cbb4259c9b983bd61075d034a004d6 Mon Sep 17 00:00:00 2001 From: sunder Date: Wed, 2 Sep 2026 15:12:59 +0530 Subject: [PATCH] =?UTF-8?q?feat:=20add=20parent=20to=20work=20item=20comme?= =?UTF-8?q?nt=20model=20and=20create=20request=20=E2=80=94=20v0.2.14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v1 API accepts parent on comment create (the id of a top-level comment on the same work item to reply to) and returns it on read; the SDK types did not declare it, so a threaded reply could not be typed. Update request is left unchanged — re-parenting on edit is not a supported operation. --- package.json | 2 +- src/models/Comment.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 36a360c..d8b53de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@makeplane/plane-node-sdk", - "version": "0.2.13", + "version": "0.2.14", "description": "Node SDK for Plane", "author": "Plane ", "repository": { diff --git a/src/models/Comment.ts b/src/models/Comment.ts index 8c61872..6ce8d6b 100644 --- a/src/models/Comment.ts +++ b/src/models/Comment.ts @@ -19,6 +19,7 @@ export interface WorkItemComment { workspace?: string; issue?: string; actor?: string; + parent?: string; } export interface WorkItemCommentCreateRequest { @@ -27,6 +28,8 @@ export interface WorkItemCommentCreateRequest { access?: AccessEnum; external_source?: string; external_id?: string; + /** ID of a top-level comment on the same work item to reply to. */ + parent?: string; } export interface WorkItemCommentUpdateRequest {