Hi, can you please tell me what is wrong in my JSON? I set up copying the value of the multi-level-cascading-select field, from one task to another, but the field with my JSON is not copied.
{"type":"array","items":"string","custom":"com.sourcesense.jira.plugin.cascadingselect:multi-level-cascading-select"
{
"update": {
"customfield_xxx": [
{
"set": {
"value": "{{triggerIssue.fields.customfield.customfield_xxx.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield.customfield_xxx.child.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield.customfield_xxx.child.value}}"
}
}
}
}
]
}
}
Hello @Денис Шитягин
I think the correct JSON would be something like this :
{
"update": {
"customfield_xxxxx": [
{
"set": {
"value": "{{triggerIssue.fields.customfield_xxxxx.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield_xxxxx.child.value}}"
}
}
}
]
},
"update": {
"customfield_xxxxx": [
{
"set": {
"value": "{{triggerIssue.fields.customfield_xxxxx.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield_xxxxx.child.value}}"
}
}
}
]
}
}
So, basically, one update for each child value.
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.