Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Affected Service field from Datadog

Zekai Huang
Contributor
October 11, 2022

Hi all,

I am trying to integrate JIRA service management project with datadog. I am able to setup a template to send basic incident. But when trying to use the affected service field, nothing works. 

The datadog integration asks for a schema like this:

{ "items": "service-entity-field", "customId": 10040, "type": "array", "custom": "com.atlassian.jira.plugins.service-entity:service-entity-field-cftype" }

After reading assorted documents, I tried following options and none works.

 

[{"id": "4f036e1f-17cb-454c-b2fb-2a09fa28941f"}]

[{"value": "service name"}]

{"customfield_10040": [{"value": "service name"}]}

 

Any suggestion would be really appreciated. 

1 answer

1 accepted

2 votes
Answer accepted
Zekai Huang
Contributor
October 12, 2022

This format works. 

[{"name" : $serviceName}]

[
{
"id": "ari:cloud:graph::service/xxxxxxx/yyyyy"
}
]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events