Forums

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

Automation - Copy Single Issue Picker value to child tickets

AbrahamA
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.
March 26, 2022

Hello

I need to copy value of single issue picker from triggering issue to child tickets. I could copy values of some fields from parent to child, but not issue picker. Can you please help me.

Here is what I have done so far:

pic1.JPG

2 answers

1 accepted

0 votes
Answer accepted
Ste Wright
Community Champion
March 27, 2022

Hi @AbrahamA 

Testing this, this worked...

{
"fields": {
"customfield_10123":"{{triggerissue.High Profile Issue.key}}"

       }
}

^ Just replace 10123 with High Profile Issue's custom field ID.

Ste

AbrahamA
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.
March 27, 2022

Hi Stephen

Thanks for the reply.

I have tried and it did not work.

Here is how it looks on trigger issue screen( I have made sure the field is visible on available on child issue view screen)

hpf.JPG

Ste Wright
Community Champion
March 27, 2022

Hi @AbrahamA 

Did it cause an error? If so, what was it?

Ste

AbrahamA
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.
March 27, 2022

Hi Stephen

I did not see any errors on the screen.

AbrahamA
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.
March 27, 2022

The field 'High Profile Issue' does not have value for issue XYZ-538 and will not be displayed on the view issue page. Set value for that field so that it shows up.

Ste Wright
Community Champion
March 28, 2022

Hi @AbrahamA 

Is that the audit log error in the last comment?

Could you send a screenshot of your most recent rule, and an audit log entry from when you tried to activate the rule?

I tried this in our instance and it worked as required, so it should be possible to make it work in yours!

AbrahamA
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.
March 28, 2022

Hi Stephen

Thanks for your help, I got it to work.

For anyone facing similar issue, the fields should be in value changes. I had two fields with almost similar names and got mixed up,.

But since I am listening on description tickets from all projects are getting matched and appear in Audit log, wish project name could be matched first (is there a way)?

I am accepting answer as it solved my initial question.

Like Ste Wright likes this
0 votes
AbrahamA
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.
March 28, 2022

p3.JPG

 

In the audit log I do not see any rules failing for the tickets which belong to vrt. All are from different projects.

Suggest an answer

Log in or Sign up to answer