이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Jira Integration

Manage your Jira Integration. Atlassian Jira is a project management and issue tracking tool for teams to coordinate work and handle tasks efficiently.

Note: This endpoint is in public beta and it’s subject to change. If you have any feedback, contact Datadog support.

DELETE https://api.ap1.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.ap2.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.datadoghq.eu/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.ddog-gov.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.us3.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}

개요

Delete a Jira issue template by ID.

인수

경로 파라미터

이름

유형

설명

issue_template_id [required]

string

The ID of the Jira issue template to delete

응답

No Content

Too many requests

API error response.

Expand All

항목

유형

설명

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

코드 사례

                  # Path parameters
export issue_template_id="65b3341b-0680-47f9-a6d4-134db45c603e"
# Curl command
curl -X DELETE "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates/${issue_template_id}" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}"

Note: This endpoint is in public beta and it’s subject to change. If you have any feedback, contact Datadog support.

PATCH https://api.ap1.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.ap2.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.datadoghq.eu/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.ddog-gov.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.us3.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}

개요

Update a Jira issue template by ID.

인수

경로 파라미터

이름

유형

설명

issue_template_id [required]

string

The ID of the Jira issue template to update

요청

Body Data (required)

Expand All

항목

유형

설명

data [required]

object

Data object for updating a Jira issue template

attributes [required]

object

Attributes for updating a Jira issue template

fields

object

Custom fields for the Jira issue template

name

string

The name of the issue template

type [required]

enum

Type identifier for Jira issue template resources Allowed enum values: jira-issue-template

{
  "data": {
    "attributes": {
      "fields": {
        "description": {
          "payload": "Updated Description",
          "type": "json"
        }
      },
      "name": "test_template_updated"
    },
    "type": "jira-issue-template"
  }
}

응답

OK

Response containing a single Jira issue template

Expand All

항목

유형

설명

data [required]

object

Data object for a Jira issue template

attributes [required]

object

Attributes of a Jira issue template

fields [required]

object

Custom fields for the Jira issue template

issue_type_id [required]

string

The ID of the Jira issue type

name [required]

string

The name of the issue template

project_id [required]

string

The ID of the Jira project

id [required]

uuid

Unique identifier for the Jira issue template

relationships

object

Relationships of a Jira issue template

jira-account [required]

object

Relationship to a Jira account

data [required]

object

Data object for a Jira account

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

type [required]

enum

Type identifier for Jira issue template resources Allowed enum values: jira-issue-template

included

[object]

Array of Jira account data objects

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

{
  "data": {
    "attributes": {
      "fields": {
        "description": {
          "payload": "Test Description",
          "type": "json"
        }
      },
      "issue_type_id": "456",
      "name": "Test Template",
      "project_id": "123"
    },
    "id": "65b3341b-0680-47f9-a6d4-134db45c603e",
    "relationships": {
      "jira-account": {
        "data": {
          "attributes": {
            "consumer_key": "consumer-key-1",
            "instance_url": "https://example.atlassian.net",
            "last_webhook_timestamp": "2024-01-15T10:30:00Z"
          },
          "id": "account-1",
          "type": "jira-account"
        }
      }
    },
    "type": "jira-issue-template"
  },
  "included": [
    {
      "attributes": {
        "consumer_key": "consumer-key-1",
        "instance_url": "https://example.atlassian.net",
        "last_webhook_timestamp": "2024-01-15T10:30:00Z"
      },
      "id": "account-1",
      "type": "jira-account"
    }
  ]
}

Bad Request

API error response.

Expand All

항목

유형

설명

errors [required]

[object]

A list of errors.

detail

string

A human-readable explanation specific to this occurrence of the error.

meta

object

Non-standard meta-information about the error

source

object

References to the source of the error.

header

string

A string indicating the name of a single request header which caused the error.

parameter

string

A string indicating which URI query parameter caused the error.

pointer

string

A JSON pointer to the value in the request document that caused the error.

status

string

Status code of the response.

title

string

Short human-readable summary of the error.

{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}

Too many requests

API error response.

Expand All

항목

유형

설명

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

코드 사례

                  # Path parameters
export issue_template_id="65b3341b-0680-47f9-a6d4-134db45c603e"
# Curl command
curl -X PATCH "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates/${issue_template_id}" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \ -d @- << EOF { "data": { "attributes": {}, "type": "jira-issue-template" } } EOF

Note: This endpoint is in public beta and it’s subject to change. If you have any feedback, contact Datadog support.

GET https://api.ap1.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.ap2.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.datadoghq.eu/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.ddog-gov.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.us3.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates/{issue_template_id}

개요

Get a Jira issue template by ID.

인수

경로 파라미터

이름

유형

설명

issue_template_id [required]

string

The ID of the Jira issue template to retrieve

응답

OK

Response containing a single Jira issue template

Expand All

항목

유형

설명

data [required]

object

Data object for a Jira issue template

attributes [required]

object

Attributes of a Jira issue template

fields [required]

object

Custom fields for the Jira issue template

issue_type_id [required]

string

The ID of the Jira issue type

name [required]

string

The name of the issue template

project_id [required]

string

The ID of the Jira project

id [required]

uuid

Unique identifier for the Jira issue template

relationships

object

Relationships of a Jira issue template

jira-account [required]

object

Relationship to a Jira account

data [required]

object

Data object for a Jira account

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

type [required]

enum

Type identifier for Jira issue template resources Allowed enum values: jira-issue-template

included

[object]

Array of Jira account data objects

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

{
  "data": {
    "attributes": {
      "fields": {
        "description": {
          "payload": "Test Description",
          "type": "json"
        }
      },
      "issue_type_id": "456",
      "name": "Test Template",
      "project_id": "123"
    },
    "id": "65b3341b-0680-47f9-a6d4-134db45c603e",
    "relationships": {
      "jira-account": {
        "data": {
          "attributes": {
            "consumer_key": "consumer-key-1",
            "instance_url": "https://example.atlassian.net",
            "last_webhook_timestamp": "2024-01-15T10:30:00Z"
          },
          "id": "account-1",
          "type": "jira-account"
        }
      }
    },
    "type": "jira-issue-template"
  },
  "included": [
    {
      "attributes": {
        "consumer_key": "consumer-key-1",
        "instance_url": "https://example.atlassian.net",
        "last_webhook_timestamp": "2024-01-15T10:30:00Z"
      },
      "id": "account-1",
      "type": "jira-account"
    }
  ]
}

Bad Request

API error response.

Expand All

항목

유형

설명

errors [required]

[object]

A list of errors.

detail

string

A human-readable explanation specific to this occurrence of the error.

meta

object

Non-standard meta-information about the error

source

object

References to the source of the error.

header

string

A string indicating the name of a single request header which caused the error.

parameter

string

A string indicating which URI query parameter caused the error.

pointer

string

A JSON pointer to the value in the request document that caused the error.

status

string

Status code of the response.

title

string

Short human-readable summary of the error.

{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}

Too many requests

API error response.

Expand All

항목

유형

설명

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

코드 사례

                  # Path parameters
export issue_template_id="65b3341b-0680-47f9-a6d4-134db45c603e"
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates/${issue_template_id}" \ -H "Accept: application/json" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}"

Note: This endpoint is in public beta and it’s subject to change. If you have any feedback, contact Datadog support.

POST https://api.ap1.datadoghq.com/api/v2/integration/jira/issue-templateshttps://api.ap2.datadoghq.com/api/v2/integration/jira/issue-templateshttps://api.datadoghq.eu/api/v2/integration/jira/issue-templateshttps://api.ddog-gov.com/api/v2/integration/jira/issue-templateshttps://api.datadoghq.com/api/v2/integration/jira/issue-templateshttps://api.us3.datadoghq.com/api/v2/integration/jira/issue-templateshttps://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates

개요

Create a new Jira issue template.

요청

Body Data (required)

Expand All

항목

유형

설명

data

object

Data object for creating a Jira issue template

attributes

object

Attributes for creating a Jira issue template

fields

object

Custom fields for the Jira issue template

issue_type_id

string

The ID of the Jira issue type

jira-account

object

Reference to the Jira account

id [required]

uuid

The ID of the Jira account

name

string

The name of the issue template

project_id

string

The ID of the Jira project

type

enum

Type identifier for Jira issue template resources Allowed enum values: jira-issue-template

{
  "data": {
    "attributes": {
      "fields": {
        "description": {
          "payload": "Test",
          "type": "json"
        }
      },
      "issue_type_id": "12730",
      "jira-account": {
        "id": "80f16d40-1fba-486e-b1fc-983e6ca19bec"
      },
      "name": "test-template",
      "project_id": "10772"
    },
    "type": "jira-issue-template"
  }
}

응답

Created

Response containing a single Jira issue template

Expand All

항목

유형

설명

data [required]

object

Data object for a Jira issue template

attributes [required]

object

Attributes of a Jira issue template

fields [required]

object

Custom fields for the Jira issue template

issue_type_id [required]

string

The ID of the Jira issue type

name [required]

string

The name of the issue template

project_id [required]

string

The ID of the Jira project

id [required]

uuid

Unique identifier for the Jira issue template

relationships

object

Relationships of a Jira issue template

jira-account [required]

object

Relationship to a Jira account

data [required]

object

Data object for a Jira account

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

type [required]

enum

Type identifier for Jira issue template resources Allowed enum values: jira-issue-template

included

[object]

Array of Jira account data objects

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

{
  "data": {
    "attributes": {
      "fields": {
        "description": {
          "payload": "Test Description",
          "type": "json"
        }
      },
      "issue_type_id": "456",
      "name": "Test Template",
      "project_id": "123"
    },
    "id": "65b3341b-0680-47f9-a6d4-134db45c603e",
    "relationships": {
      "jira-account": {
        "data": {
          "attributes": {
            "consumer_key": "consumer-key-1",
            "instance_url": "https://example.atlassian.net",
            "last_webhook_timestamp": "2024-01-15T10:30:00Z"
          },
          "id": "account-1",
          "type": "jira-account"
        }
      }
    },
    "type": "jira-issue-template"
  },
  "included": [
    {
      "attributes": {
        "consumer_key": "consumer-key-1",
        "instance_url": "https://example.atlassian.net",
        "last_webhook_timestamp": "2024-01-15T10:30:00Z"
      },
      "id": "account-1",
      "type": "jira-account"
    }
  ]
}

Bad Request

API error response.

Expand All

항목

유형

설명

errors [required]

[object]

A list of errors.

detail

string

A human-readable explanation specific to this occurrence of the error.

meta

object

Non-standard meta-information about the error

source

object

References to the source of the error.

header

string

A string indicating the name of a single request header which caused the error.

parameter

string

A string indicating which URI query parameter caused the error.

pointer

string

A JSON pointer to the value in the request document that caused the error.

status

string

Status code of the response.

title

string

Short human-readable summary of the error.

{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}

Too many requests

API error response.

Expand All

항목

유형

설명

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

코드 사례

                  # Curl command
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \ -d @- << EOF { "data": { "attributes": { "jira-account": { "id": "80f16d40-1fba-486e-b1fc-983e6ca19bec" } } } } EOF

Note: This endpoint is in public beta and it’s subject to change. If you have any feedback, contact Datadog support.

GET https://api.ap1.datadoghq.com/api/v2/integration/jira/issue-templateshttps://api.ap2.datadoghq.com/api/v2/integration/jira/issue-templateshttps://api.datadoghq.eu/api/v2/integration/jira/issue-templateshttps://api.ddog-gov.com/api/v2/integration/jira/issue-templateshttps://api.datadoghq.com/api/v2/integration/jira/issue-templateshttps://api.us3.datadoghq.com/api/v2/integration/jira/issue-templateshttps://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates

개요

Get all Jira issue templates for the organization.

응답

OK

Response containing Jira issue templates

Expand All

항목

유형

설명

data [required]

[object]

Array of Jira issue template data objects

attributes [required]

object

Attributes of a Jira issue template

fields [required]

object

Custom fields for the Jira issue template

issue_type_id [required]

string

The ID of the Jira issue type

name [required]

string

The name of the issue template

project_id [required]

string

The ID of the Jira project

id [required]

uuid

Unique identifier for the Jira issue template

relationships

object

Relationships of a Jira issue template

jira-account [required]

object

Relationship to a Jira account

data [required]

object

Data object for a Jira account

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

type [required]

enum

Type identifier for Jira issue template resources Allowed enum values: jira-issue-template

included

[object]

Array of Jira account data objects

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

{
  "data": [
    {
      "attributes": {
        "fields": {
          "description": {
            "payload": "Test Description",
            "type": "json"
          }
        },
        "issue_type_id": "456",
        "name": "Test Template",
        "project_id": "123"
      },
      "id": "65b3341b-0680-47f9-a6d4-134db45c603e",
      "relationships": {
        "jira-account": {
          "data": {
            "attributes": {
              "consumer_key": "consumer-key-1",
              "instance_url": "https://example.atlassian.net",
              "last_webhook_timestamp": "2024-01-15T10:30:00Z"
            },
            "id": "account-1",
            "type": "jira-account"
          }
        }
      },
      "type": "jira-issue-template"
    }
  ],
  "included": [
    {
      "attributes": {
        "consumer_key": "consumer-key-1",
        "instance_url": "https://example.atlassian.net",
        "last_webhook_timestamp": "2024-01-15T10:30:00Z"
      },
      "id": "account-1",
      "type": "jira-account"
    }
  ]
}

Too many requests

API error response.

Expand All

항목

유형

설명

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

코드 사례

                  # Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates" \ -H "Accept: application/json" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}"

Note: This endpoint is in public beta and it’s subject to change. If you have any feedback, contact Datadog support.

DELETE https://api.ap1.datadoghq.com/api/v2/integration/jira/accounts/{account_id}https://api.ap2.datadoghq.com/api/v2/integration/jira/accounts/{account_id}https://api.datadoghq.eu/api/v2/integration/jira/accounts/{account_id}https://api.ddog-gov.com/api/v2/integration/jira/accounts/{account_id}https://api.datadoghq.com/api/v2/integration/jira/accounts/{account_id}https://api.us3.datadoghq.com/api/v2/integration/jira/accounts/{account_id}https://api.us5.datadoghq.com/api/v2/integration/jira/accounts/{account_id}

개요

Delete a Jira account by ID.

인수

경로 파라미터

이름

유형

설명

account_id [required]

string

The ID of the Jira account to delete

응답

No Content

Bad Request

API error response.

Expand All

항목

유형

설명

errors [required]

[object]

A list of errors.

detail

string

A human-readable explanation specific to this occurrence of the error.

meta

object

Non-standard meta-information about the error

source

object

References to the source of the error.

header

string

A string indicating the name of a single request header which caused the error.

parameter

string

A string indicating which URI query parameter caused the error.

pointer

string

A JSON pointer to the value in the request document that caused the error.

status

string

Status code of the response.

title

string

Short human-readable summary of the error.

{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}

Too many requests

API error response.

Expand All

항목

유형

설명

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

코드 사례

                  # Path parameters
export account_id="65b3341b-0680-47f9-a6d4-134db45c603e"
# Curl command
curl -X DELETE "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/jira/accounts/${account_id}" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}"

Note: This endpoint is in public beta and it’s subject to change. If you have any feedback, contact Datadog support.

GET https://api.ap1.datadoghq.com/api/v2/integration/jira/accountshttps://api.ap2.datadoghq.com/api/v2/integration/jira/accountshttps://api.datadoghq.eu/api/v2/integration/jira/accountshttps://api.ddog-gov.com/api/v2/integration/jira/accountshttps://api.datadoghq.com/api/v2/integration/jira/accountshttps://api.us3.datadoghq.com/api/v2/integration/jira/accountshttps://api.us5.datadoghq.com/api/v2/integration/jira/accounts

개요

Get all Jira accounts for the organization.

응답

OK

Response containing Jira accounts

Expand All

항목

유형

설명

data [required]

[object]

Array of Jira account data objects

attributes [required]

object

Attributes of a Jira account

consumer_key [required]

string

The consumer key for the Jira account

instance_url [required]

string

The URL of the Jira instance

last_webhook_timestamp

date-time

Timestamp of the last webhook received

id [required]

string

Unique identifier for the Jira account

type [required]

enum

Type identifier for Jira account resources Allowed enum values: jira-account

meta

object

Metadata for Jira accounts response

public_key

string

Public key for the Jira integration

{
  "data": [
    {
      "attributes": {
        "consumer_key": "consumer-key-1",
        "instance_url": "https://example.atlassian.net",
        "last_webhook_timestamp": "2024-01-15T10:30:00Z"
      },
      "id": "account-1",
      "type": "jira-account"
    }
  ],
  "meta": {
    "public_key": "c29tZSBkYXRhIHdpdGggACBhbmQg77u/"
  }
}

Not Found

API error response.

Expand All

항목

유형

설명

errors [required]

[object]

A list of errors.

detail

string

A human-readable explanation specific to this occurrence of the error.

meta

object

Non-standard meta-information about the error

source

object

References to the source of the error.

header

string

A string indicating the name of a single request header which caused the error.

parameter

string

A string indicating which URI query parameter caused the error.

pointer

string

A JSON pointer to the value in the request document that caused the error.

status

string

Status code of the response.

title

string

Short human-readable summary of the error.

{
  "errors": [
    {
      "detail": "Missing required attribute in body",
      "meta": {},
      "source": {
        "header": "Authorization",
        "parameter": "limit",
        "pointer": "/data/attributes/title"
      },
      "status": "400",
      "title": "Bad Request"
    }
  ]
}

Too many requests

API error response.

Expand All

항목

유형

설명

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

코드 사례

                  # Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/jira/accounts" \ -H "Accept: application/json" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}"