xray-mcp 1.2.1 → 1.2.2

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
@@ -141,13 +141,14 @@ npm run dev
141
141
  ```
142
142
 
143
143
  **Test Types:**
144
- - `Unstructured` or `Manual` - Free-form text steps (both map to Xray "Unstructured", use with `add_manual_test_steps`)
144
+ - `Manual` - Structured manual tests (use Xray's built-in manual test steps)
145
+ - `Unstructured` - Free-form text steps (use with `add_manual_test_steps` tool)
145
146
  - `Cucumber` - Gherkin/BDD scenarios
146
147
  - `Generic` - Generic automated tests
147
148
 
148
149
  #### Add Manual Test Steps
149
150
 
150
- **Important:** Test cases must be created with `testType: "Unstructured"` (default) to use this tool.
151
+ **Important:** Test cases must be created with `testType: "Unstructured"` to use this tool.
151
152
 
152
153
  ```json
153
154
  {
@@ -167,7 +168,7 @@ npm run dev
167
168
  ```
168
169
 
169
170
  **Migration from Azure DevOps:** This tool is perfect for migrating test cases from ADO:
170
- 1. Create test case with `testType: "Unstructured"` (default)
171
+ 1. Create test case with `testType: "Unstructured"`
171
172
  2. Use the returned `issueId` with `add_manual_test_steps`
172
173
  3. Steps are formatted as pipe-delimited text: "1. Action|Data|Result"
173
174
 
@@ -146,14 +146,8 @@ export class XrayClient {
146
146
  jira: jiraFields
147
147
  };
148
148
  if (testCase.testType) {
149
- // Map user-friendly test types to Xray's internal types
150
- // For free-form text steps (used by add_manual_test_steps), use "Unstructured"
151
- let xrayTestType = testCase.testType;
152
- if (testCase.testType === 'Manual' || testCase.testType === 'Unstructured') {
153
- xrayTestType = 'Unstructured';
154
- }
155
149
  variables.testType = {
156
- name: xrayTestType
150
+ kind: testCase.testType
157
151
  };
158
152
  }
159
153
  const result = await this.graphqlRequest(mutation, variables);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xray-mcp",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {