I am trying to set a custom field with automation. I can log
the {{triggerissue.customfield_14651}} and get the right answer before I go into "For Linked Issues: Split To" ir even inside of the loop. However, when I try to set it via JSON or even manually I get an error like the one in the title.
Here is my JSON:
{
"fields": {
"customfield_14651": "{{triggerissue.customfield_14651}}"
}
}
This works fine when I create sub-tasks, but for some reason, when I try to set a "split story" custom field, it just doesn't work. I have tried many permutations including json object, toString, hard coded strings (that are valid) etc. Nothing seems to work except when I hard code the number for the string (e.g. "86" which relates to "xxx xxx xxx"). I can't seem to figure out how to retrieve the number using smartvalues, so I am asking the community if any of you have any ideas on how to get it, or how to make it work using the JSON.
Here is one of the ways I implement it and log some stuff to validate it has data:
Thanks,
Dan
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.