Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

When Resolving a Ticket I would like any child tickets to inherit certain fields from the parent

Paul Moodie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2020

Hello all,

                 I am trying to create automation in Jira to cover the following scenario:

When a parent ticket transitions to 'resolved', I would like any child 'sub-tasks' to inherit selected "cascade type custom fields" and be updated to all the sub-tasks linked to the parent. I'm aware that with 'project automation' in Jira Service Desk, cascaded custom fields are not available in the standard drop downs and will therefore need to use a JSON. Has anyone created such an automation?

1 answer

1 accepted

0 votes
Answer accepted
Liam Green
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2020

Hi Paul

I did something similar yesterday!  After much searching, I found the below question, the first answer helped me greatly.

That might be useful for you to get the required JSON.

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-can-I-copy-a-cascading-select-value-with-Automation-for-JIRA/qaq-p/585395#U1513888

Hope that helps,

Regards, Liam

Paul Moodie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2020

Hi Liam

Thanks for coming back. This was really useful.

We've now managed to get it working - extract from JSON

{
"update": {
"Service": [
{
"set": {
"value": "{{triggerIssue.fields.Service.value}}",
"child": {
"value": "{{triggerIssue.fields.Service.child.value}}"
}
}
}
]
}
}

 

Thanks once again

Regards, Paul

Like Liam Green likes this
Liam Green
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2020

Glad you managed to sort it Paul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events