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}},{{/}}
{{/}}
]
}
}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.