The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Zekai Huang
Contributor
October 12, 2022

This format works. 

[{"name" : $serviceName}]

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events