OBJECT
Query
link GraphQL Schema definition
1 type Query { 2 3 # Returns the folder for the given projectId with the specified Path along with its child folders. 4 # 5 # 6 # Arguments 7 # projectId: the project id of the Folder. 8 # testPlanId: the Test Plan id of the Folder. 9 # path: the path of the Folder. 10 (: String, : String, : String!): FolderResults 11 12 # Returns the Folders that are descendants of the given path (including the Folder at that path), whose name contains nameSearch, for the given projectId or testPlanId. 13 # Exactly one of projectId or testPlanId must be provided. An error is returned if the given path does not exist. 14 # 15 # 16 # 17 # Arguments 18 # projectId: the project id of the Folder. 19 # testPlanId: the Test Plan id of the Folder. 20 # path: the path to search descendant Folders from. If empty, the whole Test Repository is searched. 21 # nameSearch: the substring to search for in Folder names. If empty, all Folder names are considered. 22 (: String, : String, : String, : String): [SimpleFolderResults] 23 24 # Returns a Test by issueId. 25 # 26 # 27 # Arguments 28 # issueId: the id of the Test issue to be returned. 29 (: String): Test 30 31 # Returns multiple tests by jql, issue ids, project id or test type. 32 # 33 # 34 # Arguments 35 # jql: the jql that defines the search. 36 # issueIds: the ids of the Test issues to be returned. 37 # projectId: the id of the project of the Test issues to be returned. 38 # testType: the Test Type of the Test issues to be returned. 39 # modifiedSince: all tests modified after this date will be returned 40 # limit: the maximum amount of Tests to be returned. The maximum is 100. 41 # start: the index of the first item to return in the page of results (page offset). 42 # folder: the folder information required to filter the Test issues to be returned. 43 (: String, : [String], : String, : TestTypeInput, : String, : Int!, : Int, : FolderSearchInput): TestResults 44 45 # Returns a test (with the call test steps expanded) by issue id and version id. 46 # 47 # Arguments 48 # issueId: the id of the test issue to be returned. 49 # versionId: the id of a Test version. If not given, will get the default Test version. 50 (: String!, : Int): ExpandedTest 51 52 # Returns multiple tests (with the call test steps expanded) by jql, issue ids, project id or test type. 53 # 54 # 55 # 56 # Arguments 57 # jql: the jql that defines the search. 58 # issueIds: the ids of the Test issues with default Test versions to be returned. Cannot be used with tests. 59 # tests: the ids of the Test versions and Tests. If not given Test Version, will get the default Test version. Cannot be used with issueIds. 60 # projectId: the id of the project of the Test issues to be returned. 61 # testType: the Test Type of the Test issues to be returned. 62 # modifiedSince: all tests modified after this date will be returned 63 # limit: the maximum amount of Tests to be returned. The maximum is 100. 64 # start: the index of the first item to return in the page of results (page offset). 65 # folder: the folder information required to filter the Test issues to be returned. 66 ( 67 : String, 68 : [String], 69 : [TestWithVersionInput], 70 : String, 71 : TestTypeInput, 72 : String, 73 : Int!, 74 : Int, 75 : FolderSearchInput 76 ): ExpandedTestResults 77 78 # Returns a Coverable Issue by issueId. 79 # 80 # 81 # Arguments 82 # issueId: the id of the Coverable Issue to be returned. 83 (: String!): CoverableIssue 84 85 # Returns multiple coverable issues by jql or issue ids. 86 # 87 # Arguments 88 # jql: the jql that defines the search. 89 # issueIds: the ids of the Coverable Issues to be returned. 90 # limit: the maximum amount of Tests to be returned. The maximum is 100. 91 # start: the index of the first item to return in the page of results (page offset). 92 (: String, : [String], : Int!, : Int): CoverableIssueResults 93 94 # Returns a Dataset by its testIssueId. 95 # 96 # Arguments 97 # testIssueId: The unique identifier of the Dataset to be returned. 98 # testExecIssueId: (Optional) The unique identifier of the Test Execution. 99 # testPlanIssueId: (Optional) The unique identifier of the Test Plan. 100 # callTestIssueId: (Optional) The unique identifier of the Test Call. 101 (: String!, : String, : String, : String): Dataset 102 103 # Returns multiple Datasets based on optional filters. 104 # 105 # Arguments 106 # testIssueIds: Filter by test issue IDs. 107 # testExecIssueIds: (Optional) Filter by Test ExecutionIds. 108 # testPlanIssueIds: (Optional) Filter by Test PlanIds. 109 (: [String], : [String], : [String]): [Dataset] 110 111 # Returns a Precondition by issue id. 112 # 113 # 114 # Arguments 115 # issueId: the issue id of the Precondition to be returned. 116 (: String): Precondition 117 118 # Returns multiple Preconditions by jql, issueIds, projectId or Precondition Type. 119 # 120 # 121 # Arguments 122 # jql: the jql that defines the search. 123 # issueIds: the ids of the Precondition issues to be returned. 124 # projectId: the id of the project of the Precondition issues to be returned. 125 # preconditionType: the Precondition Type of the Precondition issues to be returned. 126 # limit: the maximum amount of Preconditions to be returned. The maximum is 100. 127 # start: the index of the first item to return in the page of results (page offset). 128 # modifiedSince: all Preconditions modified after this date will be returned 129 # folder: the folder information required to filter the Test issues to be returned. 130 ( 131 : String, 132 : [String], 133 : String, 134 : TestTypeInput, 135 : Int!, 136 : Int, 137 : String, 138 : PreconditionFolderSearchInput 139 ): PreconditionResults 140 141 # Returns a Test Set by issueId 142 # 143 # 144 # Arguments 145 # issueId: the id of the Test Set issue to be returned. 146 (: String): TestSet 147 148 # Returns multiple Test Sets by jql, issueIds or projectId. 149 # 150 # 151 # Arguments 152 # jql: the jql that defines the search. 153 # issueIds: the ids of the Test Set issues to be returned. 154 # projectId: the id of the project of the Test Set issues to be returned. 155 # limit: the maximum amount of Test Sets to be returned. The maximum is 100. 156 # start: the index of the first item to return in the page of results (page offset). 157 # modifiedSince: all test sets modified after this date will be returned 158 (: String, : [String], : String, : Int!, : Int, : String): TestSetResults 159 160 # Returns a Test Plan by issue id. 161 # 162 # 163 # Arguments 164 # issueId: the issue id of the Test Plan issue to be returned. 165 (: String): TestPlan 166 167 # Returns multiple Test Plans by jql, issue ids or project id. 168 # 169 # 170 # Arguments 171 # jql: the jql that defines the search. 172 # issueIds: the ids of the Test Plan issues to be returned. 173 # projectId: the id of the project of the Test Plan issues to be returned. 174 # limit: the maximum amount of Test Plans to be returned. The maximum is 100. 175 # start: the index of the first item to return in the page of results (page offset). 176 # modifiedSince: all Test Plans modified after this date will be returned 177 (: String, : [String], : String, : Int!, : Int, : String): TestPlanResults 178 179 # Returns a Test Execution by issue id. 180 # 181 # 182 # Arguments 183 # issueId: the id of the Test Execution issue to be returned. 184 (: String): TestExecution 185 186 # Returns multiple Test Executions by jql, issue ids or project id. 187 # 188 # 189 # Arguments 190 # jql: the jql that defines the search. 191 # issueIds: the ids of the Test Executions issues to be returned. 192 # projectId: the id of the project of the Test Execution issues to be returned. 193 # limit: the maximum amount of Test Executions to be returned. The maximum is 100. 194 # start: the index of the first item to return in the page of results (page offset). 195 # modifiedSince: all Test Executions modified after this date will be returned 196 (: String, : [String], : String, : Int!, : Int, : String): TestExecutionResults 197 198 # Returns a Test Run by Test issue id and Test Execution issue id. 199 # 200 # Arguments 201 # testIssueId: the issue id of the Test of the Test Run. 202 # testExecIssueId: the issue id of the Test Execution of the Test Run. 203 (: String, : String): TestRun 204 205 # Returns a Test Run by id. 206 # 207 # Arguments 208 # id: the id of the Test Run. 209 (: String): TestRun 210 211 # Returns multiple Test Runs testIssueIds and/or testExecIssueIds. 212 # 213 # 214 # 215 # Arguments 216 # testIssueIds: the issue ids of the Test of the Test Runs. 217 # testExecIssueIds: the issue ids of the Test Execution of the Test Runs. 218 # testRunAssignees: the user account ids of the assignee of the Test Runs. 219 # statuses: the ids or names of the statuses of the Test Runs (e.g. PASSED, FAILED, TODO, EXECUTING, or a custom status id). Names are matched case-insensitively. 220 # testPlanIssueIds: the issue ids of the Test Plans whose Test Runs should be returned. When combined with testExecIssueIds, only the Test Executions that belong to 221 # those Test Plans are considered. 222 # limit: the maximum amount of Test Runs to be returned. The maximum is 100. 223 # start: the index of the first item to return in the page of results (page offset). 224 # modifiedSince: all TestRuns modified after this date will be returned 225 (: [String], : [String], : [String], : [String], : [String], : Int!, : Int, : String): TestRunResults 226 227 # Returns multiple Test Runs by id. 228 # 229 # Arguments 230 # ids: the ids of the Test Runs. 231 # limit: the maximum amount of Test Runs to be returned. The maximum is 100. 232 # start: the index of the first item to return in the page of results (page offset). 233 (: [String], : Int!, : Int): TestRunResults 234 235 # Returns a Status by Test Run Step Status name. 236 # 237 # Arguments 238 # name: the status name of test run step status 239 (: String): StepStatus 240 241 # Returns a Status by Test Run Status name. 242 # 243 # Arguments 244 # name: the status name of Test Run Status 245 (: String): Status 246 247 # Returns all Test Run Status. 248 # 249 # Arguments 250 # projectId: the project id to get statuses for. If not provided, returns global statuses 251 (: String): [Status] 252 253 # Returns all Test Run Step Status. 254 # 255 # Arguments 256 # projectId: the project id to get step statuses for. If not provided, returns global step statuses 257 (: String): [StepStatus] 258 259 # Returns the Project Settings of a Project. 260 # 261 # Arguments 262 # projectIdOrKey: Project Id 263 (: String): ProjectSettings 264 265 # Returns the Project Settings of multiple Projects. 266 # Only Projects that the user can access and that have Xray configured are returned. 267 # Ids or keys that do not match a Project, or that belong to Projects without Xray configured, are reported in the warnings. 268 # 269 # Arguments 270 # projectIdsOrKeys: the ids or keys of the Projects. At least one is required. 271 # limit: the maximum amount of Project Settings to be returned. The maximum is 100. 272 # start: the index of the first item to return in the page of results (page offset). 273 (: [String], : Int!, : Int): ProjectsSettingsResults 274 275 # Returns the Issue Link Types 276 : [IssueLinkType] 277 278 # Returns the steps of the Manual Step Library. 279 # Either projectId or testIssueId must be provided. If both are provided, the Test must belong to the given project. 280 # The optional search text is matched case-insensitively against the action, data, result, description and labels of the steps. 281 # Only steps the user has permission to view are returned. 282 # 283 # 284 # Arguments 285 # projectId: The project id. Either this or testIssueId must be provided. 286 # search: Search text to match against step fields (action, data, result, description, labels). 287 # testIssueId: Filter steps linked to a specific test issue. Either this or projectId must be provided. 288 # limit: The maximum amount of steps to be returned. The maximum is 100. 289 # start: The index of the first item to return in the page of results (page offset). 290 (: String, : String, : String, : Int!, : Int): ManualStepLibraryResults 291 292 # Returns the steps of the BDD Step Library. 293 # Either projectId (steps of the library linked to that project) or testIssueId (steps used by that Test) must be provided. If both are provided, the Test must belong to the given 294 # project. 295 # The optional search text is matched case-insensitively against the step definition (step parameter placeholders are normalized before matching) or description. 296 # Deprecated steps are not returned. Only steps the user has permission to view are returned. 297 # 298 # 299 # Arguments 300 # projectId: The project id. Either this or testIssueId must be provided. 301 # search: Search text to match against the step definition or description. 302 # testIssueId: Filter steps linked to a specific test issue. Either this or projectId must be provided. 303 # limit: The maximum amount of steps to be returned. The maximum is 100. 304 # start: The index of the first item to return in the page of results (page offset). 305 (: String, : String, : String, : Int!, : Int): BDDStepLibraryResults 306 307 }