Hi there, would be anybody able to help me to write correct JSON / smart values for this purpose, please?
Copy Cascade field value (just 1st level) into another Cascade field within same issue - no need to bother with what is on second level in cascade (not even wanted to have that second level).
Have this from other community member question and it work perfectly, but just when copying the same field between parent and subtask. Do not know how to modify it
{
"update": {
"CascadeField1": [
{
"set": {
"value": "{{triggerIssue.fields.CascadeField1.value}}",
"child": {
"value": "{{triggerIssue.fields.CascadeField1.child.value}}"
}
}
}
]
}
}
Reason for this is workaround for reporting purposes when we need to see in twodimensional gadget on dashboard sums for values on first level of cascade and it is not possible othervice... This new cascade field with defined just first level would do it for us (not visible field on any screen, just used in that gadget)
so this solution works, didn´t find it earlier...
{
"fields": {
"Cascade2": {
"value": "{{issue.Cascade1.value}}"
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.