You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: update API client and documentation for new run features
- Bumped version in composer.json to 1.1.1.
- Added new endpoints `runUpdateExternalIssue` and `updateRun` to the RunsApi.
- Updated documentation for RunsApi to include new methods and parameters.
- Introduced new models: RunExternalIssue, RunexternalIssues, RunexternalIssuesLinksInner, and Runupdate.
- Enhanced Run model to include configurations and externalIssue properties.
- Removed authorId from TestCasebulkCasesInner and TestCaseCreate models.
Copy file name to clipboardExpand all lines: docs/Api/RunsApi.md
+135-4Lines changed: 135 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ All URIs are relative to https://api.qase.io/v1, except if the operation defines
9
9
|[**deleteRun()**](RunsApi.md#deleteRun)|**DELETE** /run/{code}/{id} | Delete run |
10
10
|[**getRun()**](RunsApi.md#getRun)|**GET** /run/{code}/{id} | Get a specific run |
11
11
|[**getRuns()**](RunsApi.md#getRuns)|**GET** /run/{code} | Get all runs |
12
+
|[**runUpdateExternalIssue()**](RunsApi.md#runUpdateExternalIssue)|**POST** /run/{code}/external-issue | Update external issues for runs |
13
+
|[**updateRun()**](RunsApi.md#updateRun)|**PATCH** /run/{code}/{id} | Update a specific run |
12
14
|[**updateRunPublicity()**](RunsApi.md#updateRunPublicity)|**PATCH** /run/{code}/{id}/public | Update publicity of a specific run |
13
15
14
16
@@ -235,7 +237,7 @@ $apiInstance = new Qase\APIClientV1\Api\RunsApi(
235
237
);
236
238
$code = 'code_example'; // string | Code of project, where to search entities.
237
239
$id = 56; // int | Identifier.
238
-
$include = 'include_example'; // string | Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects
240
+
$include = 'include_example'; // string | Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects, external_issue
|**code**|**string**| Code of project, where to search entities. ||
253
255
|**id**|**int**| Identifier. ||
254
-
|**include**|**string**| Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects |[optional]|
256
+
|**include**|**string**| Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects, external_issue|[optional]|
255
257
256
258
### Return type
257
259
@@ -308,7 +310,7 @@ $fromStartTime = 56; // int
308
310
$toStartTime = 56; // int
309
311
$limit = 10; // int | A number of entities in result set.
310
312
$offset = 0; // int | How many entities should be skipped.
311
-
$include = 'include_example'; // string | Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects
313
+
$include = 'include_example'; // string | Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects, external_issue
|**limit**|**int**| A number of entities in result set. |[optional][default to 10]|
333
335
|**offset**|**int**| How many entities should be skipped. |[optional][default to 0]|
334
-
|**include**|**string**| Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects |[optional]|
336
+
|**include**|**string**| Include a list of related entities IDs into response. Should be separated by comma. Possible values: cases, defects, external_issue|[optional]|
335
337
336
338
### Return type
337
339
@@ -350,6 +352,135 @@ try {
350
352
[[Back to Model list]](../../README.md#models)
351
353
[[Back to README]](../../README.md)
352
354
355
+
## `runUpdateExternalIssue()`
356
+
357
+
```php
358
+
runUpdateExternalIssue($code, $runexternalIssues)
359
+
```
360
+
361
+
Update external issues for runs
362
+
363
+
This method allows you to update links between test runs and external issues (such as Jira tickets). You can use this endpoint to: - Link test runs to external issues by providing the external issue identifier (e.g., \"PROJ-1234\") - Update existing links by providing a new external issue identifier - Remove existing links by setting the external_issue field to null **Important**: Each test run can have only one link with an external issue. If a test run already has an external issue link, providing a new external_issue value will replace the existing link. The endpoint supports both Jira Cloud and Jira Server integrations. Each request can update multiple test run links in a single operation.
**links** | [**\Qase\APIClientV1\Model\RunexternalIssuesLinksInner[]**](RunexternalIssuesLinksInner.md) | Array of external issue links. Each test run (run_id) can have only one external issue link. |
9
+
10
+
[[Back to Model list]](../../README.md#models)[[Back to API list]](../../README.md#endpoints)[[Back to README]](../../README.md)
0 commit comments