jira_accounts
Creates, updates, deletes, gets or lists a jira_accounts resource.
Overview
| Name | jira_accounts |
| Type | Resource |
| Id | datadog.integrations.jira_accounts |
Fields
The following fields are returned by SELECT queries:
- list_jira_accounts
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier for the Jira account (example: account-1) |
attributes | object | Attributes of a Jira account |
type | string | Type identifier for Jira account resources (jira-account) (example: jira-account) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_jira_accounts | select | Get all Jira accounts for the organization. | ||
delete_jira_account | delete | account_id | Delete a Jira account by ID. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string (uuid) | The ID of the Jira account to delete (example: 65b3341b-0680-47f9-a6d4-134db45c603e) |
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
SELECT examples
- list_jira_accounts
Get all Jira accounts for the organization.
SELECT
id,
attributes,
type
FROM datadog.integrations.jira_accounts
;
DELETE examples
- delete_jira_account
Delete a Jira account by ID.
DELETE FROM datadog.integrations.jira_accounts
WHERE account_id = '{{ account_id }}' --required
;