@danypops/tickets 0.5.1 → 0.5.3
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/package.json +2 -2
- package/src/adapters/jira.ts +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danypops/tickets",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Unified CLI, daemon, and TypeScript library for issue tracking across GitHub, GitLab, and Jira.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@danypops/vehicle-core": "^0.1.1",
|
|
28
|
-
"@danypops/vehicle-server": "^0.
|
|
28
|
+
"@danypops/vehicle-server": "^0.2.1",
|
|
29
29
|
"@danypops/vehicle-client": "^0.1.1",
|
|
30
30
|
"@danypops/enigma-client": "^0.3.0",
|
|
31
31
|
"@gitbeaker/rest": "^43.8.0",
|
package/src/adapters/jira.ts
CHANGED
|
@@ -104,7 +104,10 @@ interface JiraRemoteLink {
|
|
|
104
104
|
}
|
|
105
105
|
interface JiraComment {
|
|
106
106
|
id?: string;
|
|
107
|
-
|
|
107
|
+
// The real Jira REST v2 wire field is "body" (confirmed against Atlassian's own
|
|
108
|
+
// docs/example payloads). jira.js's bundled Models.Comment type mistypes this as
|
|
109
|
+
// "comment" -- a library type/runtime mismatch, not an ADF-rendering issue.
|
|
110
|
+
body?: string;
|
|
108
111
|
created?: string;
|
|
109
112
|
updated?: string;
|
|
110
113
|
author?: { displayName?: string };
|
|
@@ -625,7 +628,7 @@ function mapPriorityFromJira(name: string | undefined): ReturnType<typeof parseP
|
|
|
625
628
|
function commentToDomain(c: JiraComment): Comment {
|
|
626
629
|
return {
|
|
627
630
|
id: c.id ?? "",
|
|
628
|
-
body: c.
|
|
631
|
+
body: c.body ?? "",
|
|
629
632
|
author: c.author?.displayName,
|
|
630
633
|
createdAt: c.created,
|
|
631
634
|
updatedAt: c.updated,
|