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.
Files changed (2) hide show
  1. package/build/tp.js +5 -3
  2. 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" },
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "engines": {
26
26
  "node": ">=20.x"
27
27
  },
28
- "version": "1.0.8",
28
+ "version": "1.0.9",
29
29
  "description": "MCP server for Tartget Process",
30
30
  "main": "build/index.js",
31
31
  "keywords": [