xray-mcp 1.1.0 → 1.1.1

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.
@@ -214,7 +214,7 @@ export class XrayClient {
214
214
  * @param steps - Array of test steps with action, data, and result
215
215
  */
216
216
  async addManualTestSteps(issueId, steps) {
217
- // Format steps for Xray API
217
+ // Format steps for Xray GraphQL API (unstructured test definition)
218
218
  const formattedSteps = steps.map((step, index) => ({
219
219
  index: index,
220
220
  fields: {
@@ -224,8 +224,8 @@ export class XrayClient {
224
224
  }
225
225
  }));
226
226
  const mutation = `
227
- mutation UpdateManualTestSteps($issueId: String!, $steps: [ManualTestStepInput!]!) {
228
- updateManualTestSteps(issueId: $issueId, steps: $steps) {
227
+ mutation UpdateTestSteps($issueId: String!, $steps: [UnstructuredStepInput!]!) {
228
+ updateUnstructuredTestDefinition(issueId: $issueId, steps: $steps) {
229
229
  issueId
230
230
  }
231
231
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xray-mcp",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {