Forums

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

Copy Parent Insight custom field with multiple values to subtask

Rob Tucker December 23, 2020

How can I use smart values to copy all values from a parent issue to a subtask.

This works for a single value in the parent insight custom field.

 

{ "fields": { "Site(s)": [{"value":"{{triggerIssue."Site(s)".value}}" }] } }

3 answers

1 accepted

0 votes
Answer accepted
Rob Tucker January 11, 2021

{{triggerIssue.customfield_10040.value.asJsonArray.asJsonObject(value)}

0 votes
Rob Tucker January 8, 2021

bump

0 votes
Alexander Pappert
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.
December 24, 2020

you have to do this for every field, there is no "copy all"

Rob Tucker December 24, 2020

This is for a single insight field. I'm asking how to copy the entire array of values.

Johanna Castro
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!
May 29, 2022

Hi @Rob Tucker  

I am wondering if the above solution worked for you, I have the same problem and the proposed is not working for me :(

Suggest an answer

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

Atlassian Community Events