xray-mcp 1.1.2 → 1.1.4

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
@@ -140,6 +140,29 @@ npm run dev
140
140
  }
141
141
  ```
142
142
 
143
+ #### Add Manual Test Steps
144
+
145
+ **Important:** Test cases must be created with `testType: "Manual"` before adding steps.
146
+
147
+ ```json
148
+ {
149
+ "issueId": "58309",
150
+ "steps": [
151
+ {
152
+ "action": "Navigate to login page",
153
+ "data": "URL: https://example.com/login",
154
+ "result": "Login page displays correctly"
155
+ },
156
+ {
157
+ "action": "Enter valid credentials and click login",
158
+ "result": "User is logged in and redirected to dashboard"
159
+ }
160
+ ]
161
+ }
162
+ ```
163
+
164
+ **Migration from Azure DevOps:** This tool is perfect for migrating test cases from ADO. Create the test case first using `create_test_case` with `testType: "Manual"`, then use `add_manual_test_steps` with the returned `issueId`.
165
+
143
166
  #### Search Test Cases
144
167
 
145
168
  ```json
package/dist/index.js CHANGED
@@ -554,7 +554,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
554
554
  projectKey: args.projectKey,
555
555
  summary: args.summary,
556
556
  description: args.description,
557
- testType: args.testType,
557
+ testType: args.testType || 'Manual',
558
558
  labels: args.labels,
559
559
  priority: args.priority,
560
560
  };
@@ -229,7 +229,10 @@ export class XrayClient {
229
229
  .join('\n');
230
230
  const mutation = `
231
231
  mutation UpdateUnstructuredTest($issueId: String!, $unstructured: String!) {
232
- updateUnstructuredTestDefinition(issueId: $issueId, unstructured: $unstructured)
232
+ updateUnstructuredTestDefinition(issueId: $issueId, unstructured: $unstructured) {
233
+ issueId
234
+ jira(fields: ["key"])
235
+ }
233
236
  }
234
237
  `;
235
238
  const variables = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xray-mcp",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {