targetprocess-mcp-server 2.2.9-b → 2.2.10

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/README.md CHANGED
@@ -48,6 +48,10 @@ Features
48
48
  User Stories
49
49
  - `get_user_story_bugs` — Get all bugs linked to a user story by its ID (id)
50
50
 
51
+ Tasks
52
+ - `get_in_progress_tasks_and_bugs` — Get all Tasks and Bugs currently in "In Progress" state assigned to a given user (userId)
53
+ - `create_task` — Create a new task linked to a user story (title, userStoryId, optional description)
54
+
51
55
  Cards — Read
52
56
  - `get_card_current_status` — Get EntityState, TeamState, and assigned teams for a card (id, optional resourceType: UserStory | Bug | Feature, default: UserStory)
53
57
  - `get_bug_content` — Fetch full content of a bug by ID (id)
@@ -100,6 +104,12 @@ Teams
100
104
  User
101
105
  - `get_logged_in_user` — Get the currently logged-in user's info (no params needed)
102
106
 
107
+ Developer Tools
108
+ - `get_commit_message` — Returns a formatted commit message string for a task or bug ID (id, type: task | bug)
109
+ > Format for task on a user story: `F#<featureId> US#<userStoryId> T#<taskId> <title>`
110
+ > Format for bug on a user story: `F#<featureId> US#<userStoryId> B#<bugId> <title>`
111
+ > Format for standalone bug: `B#<bugId> <title>`
112
+
103
113
 
104
114
  ---
105
115
 
package/build/index.js CHANGED
@@ -599,10 +599,10 @@ server.registerTool('get_bug_comments', {
599
599
  server.registerTool('create_bug_based_on_card', {
600
600
  title: 'Create a new bug card based on provided card id',
601
601
  description: `Create a new bug card based on provided card id that summarizes the problem in concise, descriptive manner answering questions What? Where? When?, and content explaining what happened in detail.
602
- NOTE: this tool requires a user story or bug card as a reference (i.e. card ID).
602
+ NOTE: this tool requires a user story, bug, or feature card as a reference (i.e. card ID).
603
603
  CRITICAL WORKFLOW: Before calling this tool, you MUST follow these steps:
604
- 1) IF you already have user story or bug card content, proceed to step 3 skipping step 2;
605
- 2) ELSE call "get_user_story_content" tool or "get_bug_content" tool to get user story or bug card content;
604
+ 1) IF you already have user story, bug, or feature card content, proceed to step 3 skipping step 2;
605
+ 2) ELSE call "get_user_story_content" tool, "get_bug_content" tool, or fetch the feature to get card content;
606
606
  3) format the new bug inside html <div> tags with Environment, Issue Description, Steps to Reproduce, Expected Behavior, Actual Behavior and Attachments sections (note: section titles should be wrapped in <h3> tags, e.g. <h3>Issue Description</h3>);
607
607
  4) IF the user specified a team by name (not ID), call "get_teams" to find the matching team and use its ID as teamId;
608
608
  5) IF the user specified a project by name (not ID), call "get_projects" to find the matching project and use its ID as projectId;
@@ -614,8 +614,8 @@ server.registerTool('create_bug_based_on_card', {
614
614
  id: z.string()
615
615
  .min(5)
616
616
  .max(6)
617
- .describe(`Usually user story id or bug ID (e.g. 145789)`),
618
- type: z.enum(["UserStory", "Bug"])
617
+ .describe(`Usually user story id, bug ID, or feature ID (e.g. 145789)`),
618
+ type: z.enum(["UserStory", "Bug", "Feature"])
619
619
  }),
620
620
  bugContent: z.string()
621
621
  .describe(`Comment content to add, explain what happened in detail.
package/build/tp.js CHANGED
@@ -120,9 +120,10 @@ export class TpClient {
120
120
  "Description": bugContent,
121
121
  };
122
122
  if (card.type === "UserStory") {
123
- bug["UserStory"] = {
124
- "Id": card.id
125
- };
123
+ bug["UserStory"] = { "Id": card.id };
124
+ }
125
+ else if (card.type === "Feature") {
126
+ bug["Feature"] = { "Id": card.id };
126
127
  }
127
128
  return this.post({
128
129
  pathParam: ["bugs"],
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "engines": {
26
26
  "node": ">=20.x"
27
27
  },
28
- "version": "2.2.9b",
28
+ "version": "2.2.10",
29
29
  "description": "MCP server for Tartget Process",
30
30
  "main": "build/index.js",
31
31
  "keywords": [