Automation - How to copy field data from linked issue when issue is linked into Description.

Harish Tuccapuram February 23, 2024

I'm trying to copy the linked issues to a story to the Description field of a story ticket via Automation. In the current issue, when a comment is added. 

After reading up on this link.

tried to use this  "set": "{{issue.issuelinks.inwardIssue.key}}" however, it is not copying the linked issues key and summary to the description field any help would be appreciated. 

Thanks!

 

1 answer

0 votes
Bill Sheboy
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.
February 23, 2024

Hi @Harish Tuccapuram 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Kind regards,
Bill

Harish Tuccapuram February 23, 2024

@Bill Sheboy  this is what i was trying.Screenshot 2024-02-23 at 3.49.31 PM.png

Bill Sheboy
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.
February 23, 2024

Thanks for the rule image...As some follow-up questions:

What problem are you trying to solve by replacing the value of the Description field with the linked issues' key and summary values?  That is, why do this?  Knowing that may help the community to offer better suggestions.

 

What is not working as you expected when the rule runs?

 

Are you trying to replace the value of the Description field or to add to it?

Regardless, the advanced edit with JSON is not needed.  Instead you may enter that smart value expression directly in the field.  Perhaps like this to add the values after the existing description.

Screenshot 2024-02-23 145028.png

 

Suggest an answer

Log in or Sign up to answer