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 https://api.ap2.datadoghq.com/api/v2/integration/jira/issue-templates https://api.datadoghq.eu/api/v2/integration/jira/issue-templates https://api.ddog-gov.com/api/v2/integration/jira/issue-templates https://api.datadoghq.com/api/v2/integration/jira/issue-templates https://api.us3.datadoghq.com/api/v2/integration/jira/issue-templates https://api.us5.datadoghq.com/api/v2/integration/jira/issue-templates
Présentation Get all Jira issue templates for the organization.
Réponse OK
Response containing Jira issue templates
Expand All
Array of Jira issue template data objects
Attributes of a Jira issue template
Custom fields for the Jira issue template
The ID of the Jira issue type
The name of the issue template
The ID of the Jira project
Unique identifier for the Jira issue template
Relationships of a Jira issue template
Relationship to a Jira account
Data object for a Jira account
Attributes of a Jira account
The consumer key for the Jira account
The URL of the Jira instance
Timestamp of the last webhook received
Unique identifier for the Jira account
Type identifier for Jira account resources
Allowed enum values: jira-account
Type identifier for Jira issue template resources
Allowed enum values: jira-issue-template
Array of Jira account data objects
Attributes of a Jira account
The consumer key for the Jira account
The URL of the Jira instance
Timestamp of the last webhook received
Unique identifier for the Jira account
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
{
"errors" : [
"Bad Request"
]
} Exemple de code Copier
# 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} "