@ecubelabs/atlassian-mcp 1.8.0 → 1.9.0-next.2
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.
- package/dist/libs/jira-client.js +3 -45
- package/package.json +3 -2
package/dist/libs/jira-client.js
CHANGED
|
@@ -212,21 +212,7 @@ export class JiraService extends BaseApiService {
|
|
|
212
212
|
fields.summary = options.summary;
|
|
213
213
|
}
|
|
214
214
|
if (options.description) {
|
|
215
|
-
fields.description =
|
|
216
|
-
type: 'doc',
|
|
217
|
-
version: 1,
|
|
218
|
-
content: [
|
|
219
|
-
{
|
|
220
|
-
type: 'paragraph',
|
|
221
|
-
content: [
|
|
222
|
-
{
|
|
223
|
-
type: 'text',
|
|
224
|
-
text: options.description,
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
},
|
|
228
|
-
],
|
|
229
|
-
};
|
|
215
|
+
fields.description = markdownToAdf(options.description);
|
|
230
216
|
}
|
|
231
217
|
if (options.unassignAssignee) {
|
|
232
218
|
fields.assignee = null;
|
|
@@ -574,21 +560,7 @@ export class JiraService extends BaseApiService {
|
|
|
574
560
|
*/
|
|
575
561
|
async updateComment(issueKey, commentId, options) {
|
|
576
562
|
const body = {
|
|
577
|
-
body:
|
|
578
|
-
type: 'doc',
|
|
579
|
-
version: 1,
|
|
580
|
-
content: [
|
|
581
|
-
{
|
|
582
|
-
type: 'paragraph',
|
|
583
|
-
content: [
|
|
584
|
-
{
|
|
585
|
-
type: 'text',
|
|
586
|
-
text: options.body,
|
|
587
|
-
},
|
|
588
|
-
],
|
|
589
|
-
},
|
|
590
|
-
],
|
|
591
|
-
},
|
|
563
|
+
body: markdownToAdf(options.body),
|
|
592
564
|
};
|
|
593
565
|
if (options.visibility) {
|
|
594
566
|
body.visibility = options.visibility;
|
|
@@ -642,21 +614,7 @@ export class JiraService extends BaseApiService {
|
|
|
642
614
|
};
|
|
643
615
|
if (options.comment) {
|
|
644
616
|
body.comment = {
|
|
645
|
-
body:
|
|
646
|
-
type: 'doc',
|
|
647
|
-
version: 1,
|
|
648
|
-
content: [
|
|
649
|
-
{
|
|
650
|
-
type: 'paragraph',
|
|
651
|
-
content: [
|
|
652
|
-
{
|
|
653
|
-
type: 'text',
|
|
654
|
-
text: options.comment.body,
|
|
655
|
-
},
|
|
656
|
-
],
|
|
657
|
-
},
|
|
658
|
-
],
|
|
659
|
-
},
|
|
617
|
+
body: markdownToAdf(options.comment.body),
|
|
660
618
|
...(options.comment.visibility && {
|
|
661
619
|
visibility: options.comment.visibility,
|
|
662
620
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecubelabs/atlassian-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0-next.2",
|
|
4
4
|
"bin": "./dist/index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/Ecube-Labs/skynet.git"
|
|
@@ -37,5 +37,6 @@
|
|
|
37
37
|
"semantic-release-yarn": "^3.0.2",
|
|
38
38
|
"ts-node": "^10.9.2",
|
|
39
39
|
"typescript": "^5.8.2"
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
|
+
"stableVersion": "1.0.0"
|
|
41
42
|
}
|