From 24dc03d8d473cf8a7dfc214eeaf5def991a6f9ae Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 21 Jul 2026 15:56:27 +0000 Subject: [PATCH] Regenerate client from commit a590106 of spec repo --- .generator/schemas/v2/openapi.yaml | 129 ------ .../UpdateCustomAttributeConfig.py | 1 - .../v2/case-management-type/UpdateCaseType.py | 1 - .../v2/case-management/AddCaseInsights.py | 1 - examples/v2/case-management/AggregateCases.py | 1 - .../v2/case-management/BulkUpdateCases.py | 1 - examples/v2/case-management/CountCases.py | 1 - .../CreateCaseAutomationRule.py | 1 - .../v2/case-management/CreateCaseJiraIssue.py | 1 - examples/v2/case-management/CreateCaseLink.py | 1 - .../v2/case-management/CreateCaseNotebook.py | 1 - .../CreateCaseServiceNowTicket.py | 1 - examples/v2/case-management/CreateCaseView.py | 1 - .../CreateMaintenanceWindow.py | 1 - .../DeleteCaseAutomationRule.py | 1 - examples/v2/case-management/DeleteCaseLink.py | 1 - examples/v2/case-management/DeleteCaseView.py | 1 - .../DeleteMaintenanceWindow.py | 1 - .../DisableCaseAutomationRule.py | 1 - .../EnableCaseAutomationRule.py | 1 - .../v2/case-management/FavoriteCaseProject.py | 1 - .../case-management/GetCaseAutomationRule.py | 1 - examples/v2/case-management/GetCaseView.py | 1 - examples/v2/case-management/LinkIncident.py | 1 - .../v2/case-management/LinkJiraIssueToCase.py | 1 - .../ListCaseAutomationRules.py | 1 - examples/v2/case-management/ListCaseLinks.py | 1 - .../v2/case-management/ListCaseTimeline.py | 1 - examples/v2/case-management/ListCaseViews.py | 1 - .../v2/case-management/ListCaseWatchers.py | 1 - .../case-management/ListMaintenanceWindows.py | 1 - .../ListUserCaseProjectFavorites.py | 1 - .../v2/case-management/MoveCaseToProject.py | 1 - .../v2/case-management/RemoveCaseInsights.py | 1 - .../case-management/UnfavoriteCaseProject.py | 1 - .../v2/case-management/UnlinkJiraIssue.py | 1 - examples/v2/case-management/UnwatchCase.py | 1 - .../UpdateCaseAutomationRule.py | 1 - .../v2/case-management/UpdateCaseComment.py | 1 - .../v2/case-management/UpdateCaseDueDate.py | 1 - .../UpdateCaseResolvedReason.py | 1 - examples/v2/case-management/UpdateCaseView.py | 1 - .../UpdateMaintenanceWindow.py | 1 - examples/v2/case-management/WatchCase.py | 1 - src/datadog_api_client/configuration.py | 43 -- tests/v2/features/case_management.feature | 369 ++++++------------ .../case_management_attribute.feature | 9 +- .../v2/features/case_management_type.feature | 9 +- 48 files changed, 129 insertions(+), 473 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index bed8d51184..590f5d3c1f 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -121702,9 +121702,6 @@ paths: summary: Aggregate cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/bulk: post: description: Applies a single action (such as changing priority, status, assignment, or archiving) to multiple cases at once. The list of case IDs and the action type with its payload are specified in the request body. @@ -121749,9 +121746,6 @@ paths: summary: Bulk update cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/count: get: description: Returns case counts, optionally grouped by one or more fields (for example, status, priority). Supports a query filter to narrow the scope. @@ -121814,9 +121808,6 @@ paths: summary: Count cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/link: get: description: Returns all links associated with a case. Links define relationships (for example, BLOCKS) between cases. Requires entity_type and entity_id query parameters. @@ -121880,9 +121871,6 @@ paths: summary: List case links tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a directional link between two cases (for example, case A blocks case B). The parent and child cases and their relationship type must be specified. operationId: CreateCaseLink @@ -121941,9 +121929,6 @@ paths: summary: Create a case link tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/link/{link_id}: delete: description: Deletes an existing link between cases by link ID. @@ -121971,9 +121956,6 @@ paths: summary: Delete a case link tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects: get: description: >- @@ -122100,9 +122082,6 @@ paths: summary: List project favorites tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}: delete: description: Remove a project using the project's `id`. @@ -122249,9 +122228,6 @@ paths: summary: Unfavorite a project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Marks a case project as a favorite for the current authenticated user. operationId: FavoriteCaseProject @@ -122278,9 +122254,6 @@ paths: summary: Favorite a project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/notification_rules: get: description: >- @@ -122542,9 +122515,6 @@ paths: summary: List automation rules tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates an automation rule for a project. The rule defines a trigger event (for example, case created, status transitioned) and an action to execute. operationId: CreateCaseAutomationRule @@ -122618,9 +122588,6 @@ paths: summary: Create an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}: delete: description: Permanently deletes an automation rule from a project. @@ -122651,9 +122618,6 @@ paths: summary: Delete an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: Returns a single automation rule identified by its UUID, including its trigger, action, and current state (enabled/disabled). operationId: GetCaseAutomationRule @@ -122707,9 +122671,6 @@ paths: summary: Get an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the trigger, action, name, or state of an existing automation rule. operationId: UpdateCaseAutomationRule @@ -122784,9 +122745,6 @@ paths: summary: Update an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}/disable: post: description: Disables an automation rule so it no longer triggers on case events. The rule configuration is preserved. @@ -122841,9 +122799,6 @@ paths: summary: Disable an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}/enable: post: description: Enables a previously disabled automation rule so it triggers on matching case events. @@ -122898,9 +122853,6 @@ paths: summary: Enable an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/types: get: description: Get all case types @@ -123085,9 +123037,6 @@ paths: summary: Update a case type tags: - Case Management Type - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/types/{case_type_id}/custom_attributes: get: description: Get all custom attribute config of case type @@ -123261,9 +123210,6 @@ paths: summary: Update custom attribute config tags: - Case Management Attribute - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/views: get: description: Returns all saved case views for a given project. Views are saved search queries that allow quick access to filtered lists of cases. @@ -123311,9 +123257,6 @@ paths: summary: List case views tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a new saved case view with a name, filter query, and associated project. Optionally, a notification rule can be linked to the view. operationId: CreateCaseView @@ -123368,9 +123311,6 @@ paths: summary: Create a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/views/{view_id}: delete: description: Permanently deletes a saved case view. @@ -123398,9 +123338,6 @@ paths: summary: Delete a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: Returns a single saved case view identified by its UUID, including its query, associated project, and timestamps. operationId: GetCaseView @@ -123441,9 +123378,6 @@ paths: summary: Get a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the name, query, or notification rule of an existing case view. operationId: UpdateCaseView @@ -123498,9 +123432,6 @@ paths: summary: Update a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}: get: description: >- @@ -123860,9 +123791,6 @@ paths: summary: Update case comment tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}: delete: description: Delete custom attribute from case @@ -124102,9 +124030,6 @@ paths: summary: Update case due date tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/insights: delete: description: Removes one or more previously added insights from a case by specifying their type and resource identifier in the request body. @@ -124187,9 +124112,6 @@ paths: summary: Remove insights from a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: >- Adds one or more insights to a case. Insights are references to related Datadog resources (such as monitors, security signals, incidents, or error tracking issues) that provide investigative context. Up to 100 insights can be added per request. Each insight requires a type (see `CaseInsightType` for allowed values), a ref (URL path to the resource), and a resource_id. @@ -124272,9 +124194,6 @@ paths: summary: Add insights to a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/priority: post: description: Update case priority @@ -124409,9 +124328,6 @@ paths: summary: Link incident to case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/jira_issues: delete: description: Remove the link between a Jira issue and a case @@ -124455,9 +124371,6 @@ paths: summary: Remove Jira issue link from case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). patch: description: Link an existing Jira issue to a case operationId: LinkJiraIssueToCase @@ -124520,9 +124433,6 @@ paths: summary: Link existing Jira issue to case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Create a new Jira issue and link it to a case operationId: CreateCaseJiraIssue @@ -124582,9 +124492,6 @@ paths: summary: Create Jira issue for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/notebook: post: description: Create a new investigation notebook and link it to a case @@ -124640,9 +124547,6 @@ paths: summary: Create investigation notebook for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/project: patch: description: Update the project associated with a case @@ -124714,9 +124618,6 @@ paths: summary: Update case project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/servicenow_tickets: post: description: Create a new ServiceNow incident ticket and link it to a case @@ -124775,9 +124676,6 @@ paths: summary: Create ServiceNow ticket for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/resolved_reason: post: description: Sets the resolved reason for a security case (for example, FALSE_POSITIVE, TRUE_POSITIVE). Applicable to security-type cases. @@ -124841,9 +124739,6 @@ paths: summary: Update case resolved reason tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/status: post: description: Update case status @@ -124973,9 +124868,6 @@ paths: summary: Get case timeline tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/title: post: description: Update case title @@ -125203,9 +125095,6 @@ paths: summary: List case watchers tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/watchers/{user_uuid}: delete: description: Removes a user from the watchers list of a case. The user no longer receives notifications about updates to the case. @@ -125234,9 +125123,6 @@ paths: summary: Unwatch a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Adds a user (identified by their UUID) as a watcher of a case. The user receives notifications about subsequent updates to the case. operationId: WatchCase @@ -125264,9 +125150,6 @@ paths: summary: Watch a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/catalog/entity: get: description: Get a list of entities from Software Catalog. @@ -158333,9 +158216,6 @@ paths: summary: List maintenance windows tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a maintenance window for event management cases with a name, case filter query, and time range (start and end). operationId: CreateMaintenanceWindow @@ -158392,9 +158272,6 @@ paths: summary: Create a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/maintenance_windows/{maintenance_window_id}: delete: description: Permanently deletes a maintenance window. @@ -158422,9 +158299,6 @@ paths: summary: Delete a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the name, query, start time, or end time of an existing maintenance window. operationId: UpdateMaintenanceWindow @@ -158483,9 +158357,6 @@ paths: summary: Update a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics: get: description: |- diff --git a/examples/v2/case-management-attribute/UpdateCustomAttributeConfig.py b/examples/v2/case-management-attribute/UpdateCustomAttributeConfig.py index b9c07f0d9f..09f84b7da2 100644 --- a/examples/v2/case-management-attribute/UpdateCustomAttributeConfig.py +++ b/examples/v2/case-management-attribute/UpdateCustomAttributeConfig.py @@ -31,7 +31,6 @@ ) configuration = Configuration() -configuration.unstable_operations["update_custom_attribute_config"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementAttributeApi(api_client) response = api_instance.update_custom_attribute_config( diff --git a/examples/v2/case-management-type/UpdateCaseType.py b/examples/v2/case-management-type/UpdateCaseType.py index e8fd717d25..1d1dd6b162 100644 --- a/examples/v2/case-management-type/UpdateCaseType.py +++ b/examples/v2/case-management-type/UpdateCaseType.py @@ -21,7 +21,6 @@ ) configuration = Configuration() -configuration.unstable_operations["update_case_type"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementTypeApi(api_client) response = api_instance.update_case_type(case_type_id="case_type_id", body=body) diff --git a/examples/v2/case-management/AddCaseInsights.py b/examples/v2/case-management/AddCaseInsights.py index 23d03eb654..5a77310162 100644 --- a/examples/v2/case-management/AddCaseInsights.py +++ b/examples/v2/case-management/AddCaseInsights.py @@ -27,7 +27,6 @@ ) configuration = Configuration() -configuration.unstable_operations["add_case_insights"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.add_case_insights(case_id="case_id", body=body) diff --git a/examples/v2/case-management/AggregateCases.py b/examples/v2/case-management/AggregateCases.py index 8f2186119a..8738cf67bb 100644 --- a/examples/v2/case-management/AggregateCases.py +++ b/examples/v2/case-management/AggregateCases.py @@ -26,7 +26,6 @@ ) configuration = Configuration() -configuration.unstable_operations["aggregate_cases"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.aggregate_cases(body=body) diff --git a/examples/v2/case-management/BulkUpdateCases.py b/examples/v2/case-management/BulkUpdateCases.py index af1299b5a1..dfcde9332a 100644 --- a/examples/v2/case-management/BulkUpdateCases.py +++ b/examples/v2/case-management/BulkUpdateCases.py @@ -27,7 +27,6 @@ ) configuration = Configuration() -configuration.unstable_operations["bulk_update_cases"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.bulk_update_cases(body=body) diff --git a/examples/v2/case-management/CountCases.py b/examples/v2/case-management/CountCases.py index d9abbef7f5..060a64681b 100644 --- a/examples/v2/case-management/CountCases.py +++ b/examples/v2/case-management/CountCases.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["count_cases"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.count_cases() diff --git a/examples/v2/case-management/CreateCaseAutomationRule.py b/examples/v2/case-management/CreateCaseAutomationRule.py index a595ea3fdb..fbf1a8cc34 100644 --- a/examples/v2/case-management/CreateCaseAutomationRule.py +++ b/examples/v2/case-management/CreateCaseAutomationRule.py @@ -37,7 +37,6 @@ ) configuration = Configuration() -configuration.unstable_operations["create_case_automation_rule"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.create_case_automation_rule(project_id="project_id", body=body) diff --git a/examples/v2/case-management/CreateCaseJiraIssue.py b/examples/v2/case-management/CreateCaseJiraIssue.py index d795fad647..5bdd5705cd 100644 --- a/examples/v2/case-management/CreateCaseJiraIssue.py +++ b/examples/v2/case-management/CreateCaseJiraIssue.py @@ -22,7 +22,6 @@ ) configuration = Configuration() -configuration.unstable_operations["create_case_jira_issue"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.create_case_jira_issue(case_id="case_id", body=body) diff --git a/examples/v2/case-management/CreateCaseLink.py b/examples/v2/case-management/CreateCaseLink.py index 9b3fa3c4e1..bce2a438a7 100644 --- a/examples/v2/case-management/CreateCaseLink.py +++ b/examples/v2/case-management/CreateCaseLink.py @@ -23,7 +23,6 @@ ) configuration = Configuration() -configuration.unstable_operations["create_case_link"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.create_case_link(body=body) diff --git a/examples/v2/case-management/CreateCaseNotebook.py b/examples/v2/case-management/CreateCaseNotebook.py index d79eb53478..10f7348d44 100644 --- a/examples/v2/case-management/CreateCaseNotebook.py +++ b/examples/v2/case-management/CreateCaseNotebook.py @@ -15,7 +15,6 @@ ) configuration = Configuration() -configuration.unstable_operations["create_case_notebook"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.create_case_notebook(case_id="case_id", body=body) diff --git a/examples/v2/case-management/CreateCaseServiceNowTicket.py b/examples/v2/case-management/CreateCaseServiceNowTicket.py index 8cd3e42218..a062ce9483 100644 --- a/examples/v2/case-management/CreateCaseServiceNowTicket.py +++ b/examples/v2/case-management/CreateCaseServiceNowTicket.py @@ -20,7 +20,6 @@ ) configuration = Configuration() -configuration.unstable_operations["create_case_service_now_ticket"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.create_case_service_now_ticket(case_id="case_id", body=body) diff --git a/examples/v2/case-management/CreateCaseView.py b/examples/v2/case-management/CreateCaseView.py index 968988aa3d..b8b7137545 100644 --- a/examples/v2/case-management/CreateCaseView.py +++ b/examples/v2/case-management/CreateCaseView.py @@ -21,7 +21,6 @@ ) configuration = Configuration() -configuration.unstable_operations["create_case_view"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.create_case_view(body=body) diff --git a/examples/v2/case-management/CreateMaintenanceWindow.py b/examples/v2/case-management/CreateMaintenanceWindow.py index 78e8d4e8e9..c13679b957 100644 --- a/examples/v2/case-management/CreateMaintenanceWindow.py +++ b/examples/v2/case-management/CreateMaintenanceWindow.py @@ -24,7 +24,6 @@ ) configuration = Configuration() -configuration.unstable_operations["create_maintenance_window"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.create_maintenance_window(body=body) diff --git a/examples/v2/case-management/DeleteCaseAutomationRule.py b/examples/v2/case-management/DeleteCaseAutomationRule.py index 62147cc666..518fc42fb6 100644 --- a/examples/v2/case-management/DeleteCaseAutomationRule.py +++ b/examples/v2/case-management/DeleteCaseAutomationRule.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["delete_case_automation_rule"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.delete_case_automation_rule( diff --git a/examples/v2/case-management/DeleteCaseLink.py b/examples/v2/case-management/DeleteCaseLink.py index 78f94f2113..38cb671ad5 100644 --- a/examples/v2/case-management/DeleteCaseLink.py +++ b/examples/v2/case-management/DeleteCaseLink.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["delete_case_link"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.delete_case_link( diff --git a/examples/v2/case-management/DeleteCaseView.py b/examples/v2/case-management/DeleteCaseView.py index 1c221288e2..025c2eb971 100644 --- a/examples/v2/case-management/DeleteCaseView.py +++ b/examples/v2/case-management/DeleteCaseView.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["delete_case_view"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.delete_case_view( diff --git a/examples/v2/case-management/DeleteMaintenanceWindow.py b/examples/v2/case-management/DeleteMaintenanceWindow.py index 669bca2d44..071d4b6c77 100644 --- a/examples/v2/case-management/DeleteMaintenanceWindow.py +++ b/examples/v2/case-management/DeleteMaintenanceWindow.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["delete_maintenance_window"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.delete_maintenance_window( diff --git a/examples/v2/case-management/DisableCaseAutomationRule.py b/examples/v2/case-management/DisableCaseAutomationRule.py index 34025ebe1b..dd7295eaf9 100644 --- a/examples/v2/case-management/DisableCaseAutomationRule.py +++ b/examples/v2/case-management/DisableCaseAutomationRule.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["disable_case_automation_rule"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.disable_case_automation_rule( diff --git a/examples/v2/case-management/EnableCaseAutomationRule.py b/examples/v2/case-management/EnableCaseAutomationRule.py index dbe768d417..7cfd343a3c 100644 --- a/examples/v2/case-management/EnableCaseAutomationRule.py +++ b/examples/v2/case-management/EnableCaseAutomationRule.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["enable_case_automation_rule"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.enable_case_automation_rule( diff --git a/examples/v2/case-management/FavoriteCaseProject.py b/examples/v2/case-management/FavoriteCaseProject.py index 0e2f883b0b..60593ad0d7 100644 --- a/examples/v2/case-management/FavoriteCaseProject.py +++ b/examples/v2/case-management/FavoriteCaseProject.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["favorite_case_project"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.favorite_case_project( diff --git a/examples/v2/case-management/GetCaseAutomationRule.py b/examples/v2/case-management/GetCaseAutomationRule.py index d0bdab7a37..fd05239547 100644 --- a/examples/v2/case-management/GetCaseAutomationRule.py +++ b/examples/v2/case-management/GetCaseAutomationRule.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["get_case_automation_rule"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.get_case_automation_rule( diff --git a/examples/v2/case-management/GetCaseView.py b/examples/v2/case-management/GetCaseView.py index eca556c24b..b02a17a0e5 100644 --- a/examples/v2/case-management/GetCaseView.py +++ b/examples/v2/case-management/GetCaseView.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["get_case_view"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.get_case_view( diff --git a/examples/v2/case-management/LinkIncident.py b/examples/v2/case-management/LinkIncident.py index 327f7ea8b6..d510fa7a7e 100644 --- a/examples/v2/case-management/LinkIncident.py +++ b/examples/v2/case-management/LinkIncident.py @@ -16,7 +16,6 @@ ) configuration = Configuration() -configuration.unstable_operations["link_incident"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.link_incident(case_id="case_id", body=body) diff --git a/examples/v2/case-management/LinkJiraIssueToCase.py b/examples/v2/case-management/LinkJiraIssueToCase.py index 3803edf4ed..e086315f3a 100644 --- a/examples/v2/case-management/LinkJiraIssueToCase.py +++ b/examples/v2/case-management/LinkJiraIssueToCase.py @@ -19,7 +19,6 @@ ) configuration = Configuration() -configuration.unstable_operations["link_jira_issue_to_case"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.link_jira_issue_to_case(case_id="case_id", body=body) diff --git a/examples/v2/case-management/ListCaseAutomationRules.py b/examples/v2/case-management/ListCaseAutomationRules.py index b07bc33615..d090a3d54b 100644 --- a/examples/v2/case-management/ListCaseAutomationRules.py +++ b/examples/v2/case-management/ListCaseAutomationRules.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["list_case_automation_rules"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.list_case_automation_rules( diff --git a/examples/v2/case-management/ListCaseLinks.py b/examples/v2/case-management/ListCaseLinks.py index 2ad218f846..21abe5d511 100644 --- a/examples/v2/case-management/ListCaseLinks.py +++ b/examples/v2/case-management/ListCaseLinks.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["list_case_links"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.list_case_links( diff --git a/examples/v2/case-management/ListCaseTimeline.py b/examples/v2/case-management/ListCaseTimeline.py index 46891b347a..247d7f10ef 100644 --- a/examples/v2/case-management/ListCaseTimeline.py +++ b/examples/v2/case-management/ListCaseTimeline.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["list_case_timeline"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.list_case_timeline( diff --git a/examples/v2/case-management/ListCaseViews.py b/examples/v2/case-management/ListCaseViews.py index e183d67760..be600aa907 100644 --- a/examples/v2/case-management/ListCaseViews.py +++ b/examples/v2/case-management/ListCaseViews.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["list_case_views"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.list_case_views( diff --git a/examples/v2/case-management/ListCaseWatchers.py b/examples/v2/case-management/ListCaseWatchers.py index 6594a3f42c..c140252fb9 100644 --- a/examples/v2/case-management/ListCaseWatchers.py +++ b/examples/v2/case-management/ListCaseWatchers.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["list_case_watchers"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.list_case_watchers( diff --git a/examples/v2/case-management/ListMaintenanceWindows.py b/examples/v2/case-management/ListMaintenanceWindows.py index 0951b05b88..068512be60 100644 --- a/examples/v2/case-management/ListMaintenanceWindows.py +++ b/examples/v2/case-management/ListMaintenanceWindows.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["list_maintenance_windows"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.list_maintenance_windows() diff --git a/examples/v2/case-management/ListUserCaseProjectFavorites.py b/examples/v2/case-management/ListUserCaseProjectFavorites.py index 0fa246d8bb..40a1722256 100644 --- a/examples/v2/case-management/ListUserCaseProjectFavorites.py +++ b/examples/v2/case-management/ListUserCaseProjectFavorites.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["list_user_case_project_favorites"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.list_user_case_project_favorites() diff --git a/examples/v2/case-management/MoveCaseToProject.py b/examples/v2/case-management/MoveCaseToProject.py index b1961ca56d..a5c3fc762f 100644 --- a/examples/v2/case-management/MoveCaseToProject.py +++ b/examples/v2/case-management/MoveCaseToProject.py @@ -16,7 +16,6 @@ ) configuration = Configuration() -configuration.unstable_operations["move_case_to_project"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.move_case_to_project(case_id="case_id", body=body) diff --git a/examples/v2/case-management/RemoveCaseInsights.py b/examples/v2/case-management/RemoveCaseInsights.py index 3ce13744d1..2a9a8d6a34 100644 --- a/examples/v2/case-management/RemoveCaseInsights.py +++ b/examples/v2/case-management/RemoveCaseInsights.py @@ -27,7 +27,6 @@ ) configuration = Configuration() -configuration.unstable_operations["remove_case_insights"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.remove_case_insights(case_id="case_id", body=body) diff --git a/examples/v2/case-management/UnfavoriteCaseProject.py b/examples/v2/case-management/UnfavoriteCaseProject.py index bcf683c1a7..0e4293ca5f 100644 --- a/examples/v2/case-management/UnfavoriteCaseProject.py +++ b/examples/v2/case-management/UnfavoriteCaseProject.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["unfavorite_case_project"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.unfavorite_case_project( diff --git a/examples/v2/case-management/UnlinkJiraIssue.py b/examples/v2/case-management/UnlinkJiraIssue.py index 16751e9f31..7e79cb8336 100644 --- a/examples/v2/case-management/UnlinkJiraIssue.py +++ b/examples/v2/case-management/UnlinkJiraIssue.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["unlink_jira_issue"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.unlink_jira_issue( diff --git a/examples/v2/case-management/UnwatchCase.py b/examples/v2/case-management/UnwatchCase.py index b535db4444..dbc73642d4 100644 --- a/examples/v2/case-management/UnwatchCase.py +++ b/examples/v2/case-management/UnwatchCase.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["unwatch_case"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.unwatch_case( diff --git a/examples/v2/case-management/UpdateCaseAutomationRule.py b/examples/v2/case-management/UpdateCaseAutomationRule.py index 7637517607..0ca3349e84 100644 --- a/examples/v2/case-management/UpdateCaseAutomationRule.py +++ b/examples/v2/case-management/UpdateCaseAutomationRule.py @@ -37,7 +37,6 @@ ) configuration = Configuration() -configuration.unstable_operations["update_case_automation_rule"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.update_case_automation_rule(project_id="project_id", rule_id="rule_id", body=body) diff --git a/examples/v2/case-management/UpdateCaseComment.py b/examples/v2/case-management/UpdateCaseComment.py index beb4cd1baf..6ca45b106f 100644 --- a/examples/v2/case-management/UpdateCaseComment.py +++ b/examples/v2/case-management/UpdateCaseComment.py @@ -19,7 +19,6 @@ ) configuration = Configuration() -configuration.unstable_operations["update_case_comment"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.update_case_comment(case_id="case_id", cell_id="cell_id", body=body) diff --git a/examples/v2/case-management/UpdateCaseDueDate.py b/examples/v2/case-management/UpdateCaseDueDate.py index 34e06da7ca..13b9299341 100644 --- a/examples/v2/case-management/UpdateCaseDueDate.py +++ b/examples/v2/case-management/UpdateCaseDueDate.py @@ -19,7 +19,6 @@ ) configuration = Configuration() -configuration.unstable_operations["update_case_due_date"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.update_case_due_date(case_id="case_id", body=body) diff --git a/examples/v2/case-management/UpdateCaseResolvedReason.py b/examples/v2/case-management/UpdateCaseResolvedReason.py index 8eacd01ae7..ee400fd965 100644 --- a/examples/v2/case-management/UpdateCaseResolvedReason.py +++ b/examples/v2/case-management/UpdateCaseResolvedReason.py @@ -19,7 +19,6 @@ ) configuration = Configuration() -configuration.unstable_operations["update_case_resolved_reason"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.update_case_resolved_reason(case_id="case_id", body=body) diff --git a/examples/v2/case-management/UpdateCaseView.py b/examples/v2/case-management/UpdateCaseView.py index 43ce1a87a2..c0ea50f678 100644 --- a/examples/v2/case-management/UpdateCaseView.py +++ b/examples/v2/case-management/UpdateCaseView.py @@ -17,7 +17,6 @@ ) configuration = Configuration() -configuration.unstable_operations["update_case_view"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.update_case_view(view_id="view_id", body=body) diff --git a/examples/v2/case-management/UpdateMaintenanceWindow.py b/examples/v2/case-management/UpdateMaintenanceWindow.py index d6b11c57b7..0744c1c8a6 100644 --- a/examples/v2/case-management/UpdateMaintenanceWindow.py +++ b/examples/v2/case-management/UpdateMaintenanceWindow.py @@ -17,7 +17,6 @@ ) configuration = Configuration() -configuration.unstable_operations["update_maintenance_window"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) response = api_instance.update_maintenance_window(maintenance_window_id="maintenance_window_id", body=body) diff --git a/examples/v2/case-management/WatchCase.py b/examples/v2/case-management/WatchCase.py index 892551b6e1..079620d8dd 100644 --- a/examples/v2/case-management/WatchCase.py +++ b/examples/v2/case-management/WatchCase.py @@ -6,7 +6,6 @@ from datadog_api_client.v2.api.case_management_api import CaseManagementApi configuration = Configuration() -configuration.unstable_operations["watch_case"] = True with ApiClient(configuration) as api_client: api_instance = CaseManagementApi(api_client) api_instance.watch_case( diff --git a/src/datadog_api_client/configuration.py b/src/datadog_api_client/configuration.py index 8bf930d31c..e918a593bb 100644 --- a/src/datadog_api_client/configuration.py +++ b/src/datadog_api_client/configuration.py @@ -350,49 +350,6 @@ def __init__( "v2.get_investigation": False, "v2.list_investigations": False, "v2.trigger_investigation": False, - "v2.add_case_insights": False, - "v2.aggregate_cases": False, - "v2.bulk_update_cases": False, - "v2.count_cases": False, - "v2.create_case_automation_rule": False, - "v2.create_case_jira_issue": False, - "v2.create_case_link": False, - "v2.create_case_notebook": False, - "v2.create_case_service_now_ticket": False, - "v2.create_case_view": False, - "v2.create_maintenance_window": False, - "v2.delete_case_automation_rule": False, - "v2.delete_case_link": False, - "v2.delete_case_view": False, - "v2.delete_maintenance_window": False, - "v2.disable_case_automation_rule": False, - "v2.enable_case_automation_rule": False, - "v2.favorite_case_project": False, - "v2.get_case_automation_rule": False, - "v2.get_case_view": False, - "v2.link_incident": False, - "v2.link_jira_issue_to_case": False, - "v2.list_case_automation_rules": False, - "v2.list_case_links": False, - "v2.list_case_timeline": False, - "v2.list_case_views": False, - "v2.list_case_watchers": False, - "v2.list_maintenance_windows": False, - "v2.list_user_case_project_favorites": False, - "v2.move_case_to_project": False, - "v2.remove_case_insights": False, - "v2.unfavorite_case_project": False, - "v2.unlink_jira_issue": False, - "v2.unwatch_case": False, - "v2.update_case_automation_rule": False, - "v2.update_case_comment": False, - "v2.update_case_due_date": False, - "v2.update_case_resolved_reason": False, - "v2.update_case_view": False, - "v2.update_maintenance_window": False, - "v2.watch_case": False, - "v2.update_case_type": False, - "v2.update_custom_attribute_config": False, "v2.create_change_request": False, "v2.create_change_request_branch": False, "v2.delete_change_request_decision": False, diff --git a/tests/v2/features/case_management.feature b/tests/v2/features/case_management.feature index 04f9d8e069..8e2e9f6f6a 100644 --- a/tests/v2/features/case_management.feature +++ b/tests/v2/features/case_management.feature @@ -12,8 +12,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "Bad Request" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -21,8 +20,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "Not Found" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -30,8 +28,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "OK" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -39,24 +36,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "Bad Request" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "Not Found" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "OK" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 200 OK @@ -117,24 +111,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "Bad Request" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "Not Found" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "OK" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 200 OK @@ -167,29 +158,25 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Count cases returns "Bad Request" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Count cases returns "Not Found" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Count cases returns "OK" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Accepted" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -197,8 +184,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Bad Request" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -206,8 +192,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Not Found" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -215,8 +200,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Accepted" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -224,8 +208,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Bad Request" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -233,8 +216,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Not Found" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -242,24 +224,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Bad Request" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Created" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Not Found" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 404 Not Found @@ -292,48 +271,42 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Bad Request" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Created" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Not Found" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Bad Request" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Created" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Not Found" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 404 Not Found @@ -385,8 +358,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Bad Request" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -394,8 +366,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Created" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -403,8 +374,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Not Found" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -412,8 +382,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "Bad Request" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -421,8 +390,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "No Content" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -430,8 +398,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "Not Found" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -439,72 +406,63 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "Bad Request" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "No Content" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "Not Found" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "Bad Request" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "No Content" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "Not Found" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "Bad Request" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "No Content" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "Not Found" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @@ -527,8 +485,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete an automation rule returns "No Content" response - Given operation "DeleteCaseAutomationRule" enabled - And new "DeleteCaseAutomationRule" request + Given new "DeleteCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -536,8 +493,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete an automation rule returns "Not Found" response - Given operation "DeleteCaseAutomationRule" enabled - And new "DeleteCaseAutomationRule" request + Given new "DeleteCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -593,8 +549,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "Bad Request" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -602,8 +557,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "Not Found" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -611,8 +565,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "OK" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -620,8 +573,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "Bad Request" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -629,8 +581,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "Not Found" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -638,8 +589,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "OK" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -647,48 +597,42 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "Bad Request" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "No Content" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "Not Found" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "Bad Request" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "Not Found" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "OK" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @@ -713,8 +657,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "Bad Request" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -722,8 +665,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "Not Found" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -731,8 +673,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "OK" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -740,24 +681,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "Bad Request" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "Not Found" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "OK" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @@ -829,8 +767,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Bad Request" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -838,8 +775,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Conflict" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -847,8 +783,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "No Content" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -856,8 +791,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Not Found" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -865,8 +799,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Bad Request" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -874,8 +807,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Created" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -883,8 +815,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Not Found" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -892,32 +823,28 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "Bad Request" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "Not Found" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "OK" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List case links returns "Bad Request" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -925,8 +852,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case links returns "Not Found" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -934,8 +860,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case links returns "OK" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -943,114 +868,99 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case views returns "Bad Request" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List case views returns "Not Found" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List case views returns "OK" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "Bad Request" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "Not Found" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "OK" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "Bad Request" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "Not Found" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "OK" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "Bad Request" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "Not Found" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "OK" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "Bad Request" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "No Content" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "Not Found" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @@ -1071,8 +981,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "Bad Request" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1080,8 +989,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "Not Found" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1089,8 +997,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "OK" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1177,32 +1084,28 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "Bad Request" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "No Content" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "Not Found" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "Bad Request" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1210,8 +1113,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "No Content" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1219,8 +1121,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "Not Found" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1228,8 +1129,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "Bad Request" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1237,8 +1137,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "Not Found" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1246,8 +1145,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "OK" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1255,8 +1153,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "Bad Request" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1264,8 +1161,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "Not Found" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1273,8 +1169,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "OK" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1335,8 +1230,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "Bad Request" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1345,8 +1239,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "Not Found" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1355,8 +1248,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "OK" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1391,8 +1283,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "Bad Request" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1401,8 +1292,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "Not Found" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1411,8 +1301,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "OK" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1481,8 +1370,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "Bad Request" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1490,8 +1378,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "Not Found" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1499,8 +1386,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "OK" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1535,8 +1421,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "Bad Request" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1544,8 +1429,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "Not Found" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1553,8 +1437,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "OK" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1562,8 +1445,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "Bad Request" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1571,8 +1453,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "Not Found" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1580,8 +1461,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "OK" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1642,8 +1522,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Bad Request" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1651,8 +1530,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Created" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1660,8 +1538,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Not Found" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent diff --git a/tests/v2/features/case_management_attribute.feature b/tests/v2/features/case_management_attribute.feature index 47806e809c..b7e1006103 100644 --- a/tests/v2/features/case_management_attribute.feature +++ b/tests/v2/features/case_management_attribute.feature @@ -78,8 +78,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "Bad Request" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} @@ -88,8 +87,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "Not Found" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} @@ -98,8 +96,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "OK" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} diff --git a/tests/v2/features/case_management_type.feature b/tests/v2/features/case_management_type.feature index 260ac3d3c4..6415083b69 100644 --- a/tests/v2/features/case_management_type.feature +++ b/tests/v2/features/case_management_type.feature @@ -47,8 +47,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "Bad Request" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent @@ -56,8 +55,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "Not Found" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent @@ -65,8 +63,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "OK" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent