@ecubelabs/atlassian-mcp 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -996,6 +996,10 @@ export const registerJiraTools = (server) => {
996
996
  body: z
997
997
  .string()
998
998
  .describe('Comment text in markdown. To mention a user, use search-users or get-user-picker to get their accountId, then use syntax <@accountId:ACCOUNT_ID>. Example: "Hey <@accountId:5b10a284>, please review this."'),
999
+ parentId: z
1000
+ .string()
1001
+ .optional()
1002
+ .describe('Parent comment ID to reply to. Use get-comments to find the comment ID to reply to.'),
999
1003
  visibility: z
1000
1004
  .object({
1001
1005
  type: z.enum(['group', 'role']).describe('Visibility type'),
@@ -1010,10 +1014,11 @@ export const registerJiraTools = (server) => {
1010
1014
  }))
1011
1015
  .optional()
1012
1016
  .describe('Comment properties'),
1013
- }, async ({ issueKey, body, visibility, properties }) => {
1017
+ }, async ({ issueKey, body, parentId, visibility, properties }) => {
1014
1018
  try {
1015
1019
  const comment = await jiraService.createComment(issueKey, {
1016
1020
  body,
1021
+ parentId,
1017
1022
  visibility,
1018
1023
  properties: properties,
1019
1024
  });
@@ -546,6 +546,9 @@ export class JiraService extends BaseApiService {
546
546
  const body = {
547
547
  body: markdownToAdfWithMentions(options.body),
548
548
  };
549
+ if (options.parentId) {
550
+ body.parentId = options.parentId;
551
+ }
549
552
  if (options.visibility) {
550
553
  body.visibility = options.visibility;
551
554
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecubelabs/atlassian-mcp",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "bin": "./dist/index.js",
5
5
  "repository": {
6
6
  "url": "https://github.com/Ecube-Labs/skynet.git"