Hi there,
I have a service name coming in from a webhook and want to use that when a issue is being created based on the webhookdata.
I have this in the additional field section of the "Create Issue" automation, but it just doesn't work.
{
"fields": {
"Affected Services": [
{
"set": {
"Name": "{{webhookData.Service}}"
}
}
]
}
}
Not sure what to use to get this to populate when the automation runs.
Sorted this out based on using a lookup objects into the Services objecttype for the named service then using the ID in the issue create automation
{
"fields": {
"Affected services": [
{{#lookupObjects}}
{"id": "{{Service ID}}"}{{^last}},{{/}}
{{/}}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.