Hi
I would like to use automation to add an Organization to the existing organization (if any) on certain service desk tickets.
I am having problems with the syntax for Organizations in advanced edit.
I have tried
{
"update": {
"customfield_12900": [
{
"add": {"id": "542"}
}
]
}
}
and
{
"update": {
"customfield_12900": [
{
"add": {"name": "Org Name"}
}
]
}
}
but the error is
(Operation value must be a number (customfield_12900))
Strangely when I try to simply set the field (regardless of any existing values) using
{
"fields": {
"customfield_12900": [
{"id": "542"}
]
}
}
the error is
(The Organization ID must be a number (customfield_12900))
So I've tried a couple of things like
{"id": "542.asNumber"}
and
{"id": "542.asJsonNumber"}
but no luck. I'm clutching at straws here!
Can anyone advise please!
Hi @Julia Foden
What do you mean "to add an Organization to the existing organization"? You mean to add an organization to the specific organization field, because it's empty?
I mean add a specific Organization to the field which might be empty or it might already have one other Organization in it. In the latter case I want the end result to be two Organizations in the field.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, that works for setting a single organization.
But I'm still stuck on what I really need which is how to add a specific organization to one that may be already there. I need a replacement for
{
"update": {
"customfield_12900": [
{
"add": {"id": "542"}
}
]
}
}
I really appreciate your willingness to jump in and help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brilliant thanks so much @Alex Koxaras -Relational- that works. How funny that the solution was the simplest thing with no "" or {} or anything :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.