Hi Team,
We like to know if there is a way in Jira to read from the “child” issue tickets (ie: User Story) linked to a Parent one (ie: Epic) and cascade/copy the info to same custom field present in Epic issue type.
Thanks,
Vasantakumaar
Hello @Vasanta Kumaar
For child value of cascade : {{issue.fields.customfield_xxx.child.value}}
If you want copy to Epic , you can try something like that
"update": {"customfield_xxx": [{"set": {"value": "{{triggerIssue.fields.customfield_xxx.value}}","child": {"value": "{{triggerIssue.fields.customfield_xxx.child.value}}
Hello, Good day. You could use the JSON value on the automation rule, as shown in the following links. https://community.atlassian.com/t5/Jira-questions/Automation-rule-copy-parent-value-from-cascading-select-fields/qaq-p/2134425 &
https://community.atlassian.com/t5/Jira-questions/Automation-Copy-select-list-cascading-custom-field-from-an-issue/qaq-p/2347573
Hi @Mohanraj Thangamuthu & @Duc Thang TRAN ,
Thanks for the answer, will check and update.
I have another issue, what? If another child problem is added to the parent ticket, and automation runs, the existing value of the custom field will be cleared and replaced with the new one. How to avoid.
In this case, I suggest adding if else conditions to modify the value of parent field cascade if the parent's cascading field is empty or other condition
Hi @Duc Thang TRAN
Thanks for the above JSON values. I have tried and got below error:
(data was not an array (customfield_XXXXX))
Please let me know what might be the issue.
It looks like you're new here. Sign in or register to get started.