OBJECT
Mutation
link GraphQL Schema definition
1 type Mutation { 2 3 # Mutation used to create a new Folder. 4 # 5 # 6 # 7 # Arguments 8 # projectId: the project id of the Folder. 9 # testPlanId: the Test Plan id of the Folder. 10 # path: the path of the Folder. 11 # testIssueIds: the Test ids to add to the Folder. 12 # issueIds: the Test or Precondition ids to add to the Folder. 13 (: String, : String, : String!, : [String], : [String]): ActionFolderResult 14 15 # Mutation used to delete a Folder. 16 # 17 # Arguments 18 # projectId: the project id of the Folder. 19 # testPlanId: the Test Plan id of the Folder. 20 # path: the path of the Folder. 21 (: String, : String, : String!): String 22 23 # Mutation used to rename a Folder. 24 # 25 # Arguments 26 # projectId: the project id of the Folder. 27 # testPlanId: the Test Plan id of the Folder. 28 # path: the path of the Folder. 29 # newName: the new name of the Folder. 30 (: String, : String, : String!, : String!): ActionFolderResult 31 32 # Mutation used to move a Folder. 33 # 34 # Arguments 35 # projectId: the project id of the Folder. 36 # testPlanId: the Test Plan id of the Folder. 37 # path: the path of the Folder. 38 # destinationPath: the new path of the Folder. 39 # index: the index of where to insert the folder in. 40 (: String, : String, : String!, : String!, : Int): ActionFolderResult 41 42 # Mutation used to add tests to a Folder. 43 # 44 # Arguments 45 # projectId: the project id of the Folder. 46 # testPlanId: the Test Plan id of the Folder. 47 # path: the path of the Folder. 48 # testIssueIds: the Test ids to add to the Folder. 49 # index: the index of where to insert the Tests in. 50 (: String, : String, : String!, : [String]!, : Int): ActionFolderResult 51 52 # Mutation used to add issues to a Folder. 53 # 54 # Arguments 55 # projectId: the project id of the Folder. 56 # path: the path of the Folder. 57 # issueIds: the Test or Precondition ids to add to the Folder. 58 # index: the index of where to insert the Tests in. 59 (: String!, : String!, : [String]!, : Int): ActionFolderResult 60 61 # Mutation used to remove tests from Folder. 62 # 63 # Arguments 64 # projectId: the project id of the Folder. 65 # testPlanId: the Test Plan id of the Folder. 66 # testIssueIds: the Test ids to remove from the Folder. 67 (: String, : String, : [String]!): String 68 69 # Mutation used to remove issues from Folder. 70 # 71 # Arguments 72 # projectId: the project id of the Folder. 73 # issueIds: the Test or Precondition ids to remove from the Folder. 74 (: String!, : [String]!): String 75 76 # Mutation used to create a new Test. 77 # 78 # 79 # Arguments 80 # testType: the Test Type of the Test. 81 # steps: the Step definition of the test. 82 # unstructured: the unstructured definition of the Test. 83 # gherkin: the gherkin definition of the Test. 84 # preconditionIssueIds: the Precondition ids that be associated with the Test. 85 # folderPath: the Test repository folder for the Test. 86 # jira: the Jira object that will be used to create the Test. 87 # Check this Jira endpoint for more information related with this field. 88 (: UpdateTestTypeInput, : [CreateStepInput], : String, : String, : [String], : String, : JSON!): CreateTestResult 89 90 # Mutation used to update the Test Type of a Test. 91 # 92 # 93 # Arguments 94 # issueId: the issue id of the Test. 95 # versionId: the id of a Test version. If not given, will update the default Test version. 96 # testType: the Test Type to update on the Test. 97 (: String!, : Int, : UpdateTestTypeInput!): Test 98 99 # Mutation used to update the Unstructured definition of a Test. 100 # 101 # 102 # Arguments 103 # issueId: the issue id of the Test. 104 # versionId: the id of a Test version. If not given, will update the default Test version. 105 # unstructured: the unstructured definition of the Test. 106 (: String!, : Int, : String!): Test 107 108 # Mutation used to update the Gherkin definition of a Test. 109 # 110 # 111 # Arguments 112 # issueId: the issue id of the Test. 113 # versionId: the id of a Test version. If not given, will update the default Test version. 114 # gherkin: the gherkin definition of the Test. 115 (: String!, : Int, : String!): Test 116 117 # Mutation used to delete a Test. 118 # 119 # Arguments 120 # issueId: the issue id of the Test. 121 (: String!): String 122 123 # Mutation used to add a Step to a Test. 124 # 125 # 126 # Arguments 127 # issueId: the issue id of the Test. 128 # versionId: the id of a Test version. If not given, will update the default Test version. 129 # step: the Step to add to the Test. 130 # position: the one-based position at which to insert the step. If omitted, the step is appended to the end. 131 (: String!, : Int, : CreateStepInput!, : Int): Step 132 133 # Mutation used to update a Step of a Test. 134 # 135 # Arguments 136 # stepId: the id of the Step. 137 # step: the information to update on the Step. 138 (: String!, : UpdateStepInput!): UpdateTestStepResult 139 140 # Mutation used to remove a Step from a Test. 141 # 142 # Arguments 143 # stepId: the id of the Step. 144 (: String!): String 145 146 # Mutation used to remove all Steps from a Test. 147 # 148 # 149 # Arguments 150 # issueId: the id of the Step. 151 # versionId: the id of a Test version. If not given, will update the default Test version. 152 (: String!, : Int): String 153 154 # Mutation used to associate Preconditions to the Test. 155 # Note: The preconditions to be associated with the Test must be of the same Test Type of the Test. 156 # 157 # 158 # Arguments 159 # issueId: the issue id of the Test. 160 # versionId: the id of a Test version. If not given, will update the default Test version. 161 # preconditionIssueIds: the issue ids of the Preconditions. 162 (: String!, : Int, : [String]!): AddPreconditionsResult 163 164 # Mutation used to remove Preconditions from the Test. 165 # 166 # 167 # Arguments 168 # issueId: the issue id of the Test. 169 # versionId: the id of a Test version. If not given, will update the default Test version. 170 # preconditionIssueIds: the issue ids of the Preconditions. 171 (: String!, : Int, : [String]!): String 172 173 # Mutation used update the Test folder on the Test Repository. 174 # 175 # Arguments 176 # issueId: the issue id of the Test. 177 # folderPath: the Test repository folder for the Test. 178 (: String!, : String!): String 179 180 # Mutation used update the precondition folder on the Test Repository. 181 # 182 # Arguments 183 # issueId: the issue id of the Precondition. 184 # folderPath: the Test repository folder for the Precondition. 185 (: String!, : String!): String 186 187 # Mutation used to associate Test Sets to the Test. 188 # 189 # Arguments 190 # issueId: the issue id of the Test. 191 # testSetIssueIds: the issue ids of the Test Sets. 192 (: String!, : [String]!): AddTestSetsResult 193 194 # Mutation used to remove Test Sets from the Test. 195 # 196 # Arguments 197 # issueId: the issue id of the Test. 198 # testSetIssueIds: the issue ids of the Test Sets. 199 (: String!, : [String]!): String 200 201 # Mutation used to associate Test Plans to the Test. 202 # 203 # Arguments 204 # issueId: the issue id of the Test. 205 # testPlanIssueIds: the issue ids of the Test Plans. 206 (: String!, : [String]!): AddTestPlansResult 207 208 # Mutation used to remove Test Plans from the Test. 209 # 210 # Arguments 211 # issueId: the issue id of the Test. 212 # testPlanIssueIds: the issue ids of the Test Plans. 213 (: String!, : [String]!): String 214 215 # Mutation used to associate Test Executions to the Test. 216 # 217 # 218 # Arguments 219 # issueId: the issue id of the Test. 220 # versionId: the id of a Test version. If not given, will update the default Test version. 221 # testExecIssueIds: the issue ids of the Test Executions. 222 (: String!, : Int, : [String]!): AddTestExecutionsResult 223 224 # Mutation used to remove Test Executions from the Test. 225 # 226 # Arguments 227 # issueId: the issue id of the Test. 228 # testExecIssueIds: the issue ids of the Test Executions. 229 (: String!, : [String]!): String 230 231 # Mutation used to create a new Precondition. 232 # 233 # Arguments 234 # preconditionType: the Precondition Type of the Precondition issue. 235 # definition: the definition of the Precondition issue. 236 # testIssueIds: the Test issue ids to be associated with the Precondition issue. Will associate the default Test versions. Cannot be used with tests. 237 # tests: the Test versions to be associated with the Precondition. Cannot be used with testIssueIds. 238 # folderPath: the Test repository folder for the Precondition. 239 # jira: the jira object that will be used to create the Precondition. 240 # Check this Jira endpoint for more information related with this field. 241 (: UpdatePreconditionTypeInput, : String, : [String], : [TestWithVersionInput], : String, : JSON!): CreatePreconditionResult 242 243 # Mutation used to update a Precondition 244 # 245 # 246 # Arguments 247 # issueId: the issue id of the Precondition. 248 # data: the object containing the information to update the Precondition. 249 (: String!, : UpdatePreconditionInput): Precondition 250 251 # Mutation used to delete a Precondition 252 # 253 # Arguments 254 # issueId: the issue id of the Precondition. 255 (: String!): String 256 257 # Mutation used to associate Tests to the Precondition. One of testIssueIds or tests is required. 258 # Note: The Tests to be associated with the Precondition must be of the same Test Type of the Precondition. 259 # 260 # 261 # Arguments 262 # issueId: the issue id of the Precondition. 263 # testIssueIds: the issue ids of the Tests. Will associate the default Test versions. Cannot be used with tests. 264 # tests: the ids of the Test versions. Cannot be used with testIssueIds. 265 (: String!, : [String], : [TestWithVersionInput]): AddTestsResult 266 267 # Mutation used to remove Tests from the Precondition. One of testIssueIds or tests is required. 268 # 269 # 270 # Arguments 271 # issueId: the issue id of the Precondition. 272 # testIssueIds: the issue ids of the Tests. Will remove the default Test versions. Cannot be used with tests. 273 # tests: the ids of the Test versions. Cannot be used with testIssueIds. 274 (: String!, : [String], : [TestWithVersionInput]): String 275 276 # Mutation used to create a new Test Set. 277 # 278 # Arguments 279 # testIssueIds: the Test ids that will be associated with the Test Set. 280 # jira: the Jira object that will be used to create the Test Set. 281 # Check this Jira endpoint for more information related with this field. 282 (: [String], : JSON!): CreateTestSetResult 283 284 # Mutation used to delete a Test Set 285 # 286 # Arguments 287 # issueId: The issue id of the Test Set. 288 (: String!): String 289 290 # Mutation used to associate Tests to the Test Set. 291 # 292 # Arguments 293 # issueId: the issue id of the Test Set. 294 # testIssueIds: the issue ids of the Tests. 295 (: String!, : [String]!): AddTestsResult 296 297 # Mutation used to remove Tests from the Test Set. 298 # 299 # Arguments 300 # issueId: the issue id of the Test Set. 301 # testIssueIds: the issue ids of the Tests. 302 (: String!, : [String]!): String 303 304 # Mutation used to create a new Test Plan. 305 # 306 # Arguments 307 # savedFilter: the saved filter id or name that will be used to configure the Test Plan. Cannot be used with testIssueIds. 308 # testIssueIds: the test issue ids that will be associated with the Test Plan. Cannot be used with savedFilter. 309 # jira: the Jira object that will be used to create the Test Plan. 310 # Check this Jira endpoint for more information related with this field. 311 (: String, : [String], : JSON!): CreateTestPlanResult 312 313 # Mutation used to delete a Test Plan. 314 # 315 # Arguments 316 # issueId: issue id of the Test Plan. 317 (: String!): String 318 319 # Mutation used to associate Tests to the Test Plan. 320 # 321 # Arguments 322 # issueId: the issue id of the Test Plan. 323 # testIssueIds: the issue ids of the Tests. 324 (: String!, : [String]!): AddTestsResult 325 326 # Mutation used to remove Tests from the Test Plan. 327 # 328 # Arguments 329 # issueId: the issue id of the Test Plan. 330 # testIssueIds: the issue ids of the Tests. 331 (: String!, : [String]!): String 332 333 # Mutation used to associate Test Executions to the Test Plan. 334 # 335 # Arguments 336 # issueId: the issue id of the Test Plan. 337 # testExecIssueIds: the issue ids of the Test Executions. 338 (: String!, : [String]!): AddTestExecutionsResult 339 340 # Mutation used to remove Test Executions from the Test Plan. 341 # 342 # Arguments 343 # issueId: the issue id of the Test Plan. 344 # testExecIssueIds: the issue ids of the Test Executions. 345 (: String!, : [String]!): String 346 347 # Mutation used to create a new Test Execution. 348 # 349 # Arguments 350 # testIssueIds: the test issue ids that will be associated with the Test Execution. Cannot be used with tests. 351 # tests: the Test versions to be associated with the Test Execution. Cannot be used with testIssueIds. 352 # testEnvironments: the test environments to be added to the Test Execution. 353 # jira: the Jira object that will be used to create the Test Execution. 354 # Check this Jira endpoint for more information related with this field. 355 (: [String], : [TestWithVersionInput], : [String], : JSON!): CreateTestExecutionResult 356 357 # Mutation used to delete a Test Execution. 358 # 359 # Arguments 360 # issueId: the issue id of the Test Execution. 361 (: String!): String 362 363 # Mutation used to associate Tests to the Test Execution. One of testIssueIds or tests is required. 364 # 365 # Arguments 366 # issueId: the issue id of the Test Execution. 367 # testIssueIds: the ids of the Tests. Will associate the default Test versions. Cannot be used with tests. 368 # tests: the ids of the Test versions. Cannot be used with testIssueIds. 369 (: String!, : [String], : [TestWithVersionInput]): AddTestsResult 370 371 # Mutation used to remove Tests from the Test Execution. 372 # 373 # Arguments 374 # issueId: issue id of the Test Execution. 375 # testIssueIds: the ids of the Tests. 376 (: String!, : [String]!): String 377 378 # Mutation used to add Test Environments to the Test Execution. 379 # 380 # Arguments 381 # issueId: the issue id of the Test Execution. 382 # testEnvironments: the test environments to add. 383 (: String!, : [String]!): AddTestEnvironmentsResult 384 385 # Mutation used to remove Test Environments from the Test Execution. 386 # 387 # Arguments 388 # issueId: the issue id of the Test Execution. 389 # testEnvironments: the test environments to remove 390 (: String!, : [String]!): String 391 392 # Mutation used to reset the Test Run. This will load the new test definition and delete the current execution data. 393 # 394 # Arguments 395 # id: the id of the Test Run. 396 (: String!): String 397 398 # Mutation used to update the status of a Test Run. 399 # 400 # Arguments 401 # id: the id of the Test Run. 402 # status: the id or name of the status of the Test Run. 403 (: String!, : String!): String 404 405 # Mutation used to update the comment of a Test Run. 406 # 407 # Arguments 408 # id: the id of the Test Run. 409 # comment: the comment of the Test Run. 410 (: String!, : String!): String 411 412 # Mutation used to update a Test Run. 413 # 414 # Arguments 415 # id: the id of the Test Run. 416 # comment: the comment of the Test Run. 417 # startedOn: the startedOn of the Test Run. 418 # finishedOn: the finishedOn of the Test Run. 419 # assigneeId: the assignee of the Test Run. 420 # executedById: the executedBy of the Test Run. 421 # customFields: the customFields of the Test Run. 422 (: String!, : String, : String, : String, : String, : String, : [CustomFieldInput]): UpdateTestRunResult 423 424 # Mutation used to add defects to a Test Run. 425 # 426 # Arguments 427 # id: the id of the Test Run. 428 # issues: the ids or keys of the defects to add to the Test Run. 429 (: String!, : [String]!): AddDefectsResult 430 431 # Mutation used to remove defects from a Test Run. 432 # 433 # Arguments 434 # id: the id of the Test Run. 435 # issues: the ids or keys of the defects to remove from the Test Run. 436 (: String!, : [String]!): String 437 438 # Mutation used to add evidence to a Test Run. 439 # 440 # Arguments 441 # id: the id of the Test Run. 442 # evidence: the evidence to add to the Test Run. 443 (: String!, : [AttachmentDataInput]!): AddEvidenceResult 444 445 # Mutation used to remove evidence from a Test Run. 446 # 447 # Arguments 448 # id: the id of the Test Run. 449 # evidenceIds: the ids of the evidence to remove from the Test Run. 450 # evidenceFilenames: the filenames of the evidence to remove from the Test Run. 451 (: String!, : [String], : [String]): RemoveEvidenceResult 452 453 # Mutation used to update the Test Run Step. 454 # 455 # Arguments 456 # testRunId: The id of the Test Run. 457 # stepId: the id of the Test Run Step. 458 # updateData: the update information. 459 # iterationRank: the rank of the iteration. 460 (: String!, : String!, : UpdateTestRunStepInput!, : String): UpdateTestRunStepResult 461 462 # Mutation used to add evidence to a Test Run Step. 463 # 464 # Arguments 465 # testRunId: The id of the Test Run. 466 # stepId: the id of the Test Run Step. 467 # evidence: the evidence to add to the Test Run Step. 468 # iterationRank: the rank of the iteration. 469 (: String!, : String!, : [AttachmentDataInput], : String): AddEvidenceResult 470 471 # Mutation used to remove evidence from a Test Run Step. 472 # 473 # Arguments 474 # testRunId: The id of the Test Run. 475 # stepId: the id of the Test Run Step. 476 # iterationRank: the rank of the iteration. 477 # evidenceIds: the id of the evidence. 478 # evidenceFilenames: the filename of the evidence. 479 (: String!, : String!, : String, : [String], : [String]): RemoveEvidenceResult 480 481 # Mutation used to add defects to a Test Run Step. 482 # 483 # Arguments 484 # testRunId: The id of the Test Run. 485 # stepId: the id of the Test Run Step. 486 # issues: the ids or keys of the defects. 487 # iterationRank: the rank of the iteration. 488 (: String!, : String!, : [String], : String): AddDefectsResult 489 490 # Mutation used to remove defects from a Test Run. 491 # 492 # Arguments 493 # testRunId: The id of the Test Run. 494 # stepId: the id of the Test Run Step. 495 # issues: the ids or keys of the defects. 496 # iterationRank: the rank of the iteration. 497 (: String!, : String!, : [String]!, : String): RemoveDefectsResult 498 499 # Mutation used to update the comment of a Test Run Step. 500 # 501 # Arguments 502 # testRunId: The id of the Test Run. 503 # stepId: the id of the Test Run Step. 504 # comment: the comment of the Test Run Step. 505 # iterationRank: the rank of the iteration. 506 (: String!, : String!, : String!, : String): String 507 508 # Mutation used to update the status of a Test Run Step. 509 # 510 # Arguments 511 # testRunId: The id of the Test Run. 512 # stepId: the id of the Test Run Step. 513 # status: the id or name of the status of the Test Run. 514 # iterationRank: the rank of the iteration. 515 (: String!, : String!, : String!, : String): UpdateTestRunStepStatusResult 516 517 # Mutation used to update the status of a Test Run Example. 518 # 519 # Arguments 520 # exampleId: the id of the Test Run Example. 521 # status: the id or name of the status of the Test Run. 522 (: String!, : String!): UpdateTestRunExampleStatusResult 523 524 # Mutation used to update the status of a Test Run iteration. 525 # 526 # Arguments 527 # testRunId: The id of the Test Run. 528 # iterationRank: The rank of the iteration. 529 # status: the id or name of the status of the iteration. 530 (: String!, : String!, : String!): UpdateIterationStatusResult 531 532 # Mutation used to set the timer in Test Run. This will start, pause or stop the timer in Test Run. 533 # 534 # Arguments 535 # testRunId: the id of the Test Run. 536 # running: to start (true) or pause (false) the timer 537 # reset: to stop the timer 538 (: String!, : Boolean, : Boolean): String 539 540 }