@rui.branco/jira-mcp 1.6.13 → 1.6.14

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.
Files changed (2) hide show
  1. package/index.js +4 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2662,16 +2662,13 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
2662
2662
  }
2663
2663
  }
2664
2664
  if (args.description) {
2665
- const newParagraph = {
2666
- type: "paragraph",
2667
- content: [{ type: "text", text: args.description }],
2668
- };
2665
+ const adfContent = await buildCommentADF(args.description, inst);
2669
2666
  if (args.replaceDescription) {
2670
2667
  // Full replace
2671
2668
  fields.description = {
2672
2669
  version: 1,
2673
2670
  type: "doc",
2674
- content: [newParagraph],
2671
+ content: adfContent,
2675
2672
  };
2676
2673
  } else {
2677
2674
  // Append to existing (default)
@@ -2680,13 +2677,13 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
2680
2677
  );
2681
2678
  const existing = issue.fields?.description;
2682
2679
  if (existing && existing.content) {
2683
- existing.content.push(newParagraph);
2680
+ existing.content.push(...adfContent);
2684
2681
  fields.description = existing;
2685
2682
  } else {
2686
2683
  fields.description = {
2687
2684
  version: 1,
2688
2685
  type: "doc",
2689
- content: [newParagraph],
2686
+ content: adfContent,
2690
2687
  };
2691
2688
  }
2692
2689
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rui.branco/jira-mcp",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "description": "Jira MCP server for Claude Code - fetch tickets, search with JQL, update tickets, manage comments, change status, and get Figma designs",
5
5
  "main": "index.js",
6
6
  "bin": {