The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Copy value from Linked issue

Albert Manuel
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 Champions.
January 23, 2023

Hi,

We have a list of tickets already created - from that list, a support guy goes into every ticket and uses the option "Create Linked Issue" to create new tickets for the same project but in a different issue type - of course, linked to the original.

Now I have a custom field called "additional details" that exists in the original ticket, and i want to copy the content of that field into the description field of the linked ticket the support guy is creating.

I tried automation for Jira, but it simply doesn't work. I have something like this:

Trigger: When a new issue is created

If Issue Type equals "Task"

And "Linked Issue Present"

Then Edit "Description" from Parent Issue => Field to copy the value from "Additional details".

In my mind this logic is right, but it doesn't work.

 

The question: How can i copy a custom field value from a linked issue into the description field?

 

Thanks

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

4 votes
Answer accepted
Bhanu KN
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 Champions.
January 23, 2023

Hi @Albert Manuel , 

Hope you are doing well. 

Here's an automation rule that I configured that might help your case: 

Trigger: When you navigate to ISSUE-A and link it to ISSUE-B from there.

Once you set up your trigger, 

Click Add component > New branch >  Branch rule / related issues > Current issue

Action: Copy the value of the custom text field 'latest comment' from ISSUE-A and paste it into the description of ISSUE-B

Capture-11.PNG

Thank you, 

Bhanu :)

Albert Manuel
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 Champions.
January 23, 2023

Hi @Bhanu KN 

Having Jira data center here, but it;s not that different. The point is your automation rules work, but the other way around. I mean it takes the description i use when i create the linked issue and it updates the parent also. I need the description from the parent to be copied to the new linked issue that is created.

 

Check my automation rule.Screenshot 2023-01-23 162418.png

Bhanu KN
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 Champions.
January 23, 2023

Hi @Albert Manuel , 

It worked as I explained in the cloud though. Can you try switching? Instead of 'for current issue', use 'for destination issue' and copy the value from 'current issue'.