targetprocess-mcp-server 1.0.8 → 1.0.9
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/build/tp.js +5 -3
- package/package.json +1 -1
package/build/tp.js
CHANGED
|
@@ -100,9 +100,6 @@ export class TpClient {
|
|
|
100
100
|
"Project": {
|
|
101
101
|
"Id": 59901
|
|
102
102
|
},
|
|
103
|
-
[card.type]: {
|
|
104
|
-
"Id": card.id
|
|
105
|
-
},
|
|
106
103
|
"customFields": [{
|
|
107
104
|
"name": "Origin",
|
|
108
105
|
"type": "DropDown",
|
|
@@ -115,6 +112,11 @@ export class TpClient {
|
|
|
115
112
|
}],
|
|
116
113
|
"Description": bugContent,
|
|
117
114
|
};
|
|
115
|
+
if (card.type === "UserStory") {
|
|
116
|
+
bug["UserStory"] = {
|
|
117
|
+
"Id": card.id
|
|
118
|
+
};
|
|
119
|
+
}
|
|
118
120
|
return this.post({
|
|
119
121
|
pathParam: { "bugs": '' },
|
|
120
122
|
param: { "format": "json" },
|