I have a cascading custom field on Epics and Tasks. What should be the JSON syntax in my Jira automation for copying the value from the parent Epic to it's Task.
At the moment the locig in the automation is this:
I have tried this JSON, but i doesn't work - automation copies component field but doesn't copy the value in customField_15800 to a task from it's parent epic (automation end is succes though):
{
"update": {
"customField_15800": [
{
"set": {
"value": "{{triggerIssue.fields.customField_15800.value}}",
"child": {
"value": "{{triggerIssue.fields.customField_15800.child.value}}"
}
}
}
]
}
}
Any idea on what the syntax should be would be greatly appreciated. Thank you alredy in advance!
Hi @Lean Li For updating a cascading field this is the format :
Cascading select custom field
Select a single parent value, and a related child value. You can address them by value or id.
"customfield_11447" : { "value": "parent_option1", "child": { "value" : "p1_child1"} }
or
"customfield_11447" : { "id": 10112, "child": { "id" : 10115 } }
{
"fields": {
"customfield_10305" : { "value": "{{cascadingParentValue}}", "child": { "value" : "{{cascadingChildValue}}"} }
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks this helped a lot! With this automation structure and these variable values I got it working:
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.
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.