Forums

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

Copy values from original issue to new issue when a linked issue created

Vered Meir September 13, 2024

This seems like it should be so straightforward but I cannot figure it out. When a linked issue (issue B) is created from an existing issue (issue A), I want the values of Assignee, Reporter, and Organization to copy from issue A (the original issue) to issue B (the new issue).

My automation rule:

When: Issues linked (Types: all link types)
If: Issue matches JQL (Organizations = empty)
Then: Edit issue fields (Assignee, Organizations)

I have tried both "Copy from issue" and "Copy from trigger issue" and while the Audit log tells me the issue ran successfully, I believe it is just copying from itself? How do I indicate that I want the values copied from issue A?

I have also tried to create this rule on Issue create with criteria of "Linked issues present" but I am unsuccessful in that path. Which is the right one, and what adjustments do I need to make? Do I need to re-fetch issue data somewhere in here?

2 answers

0 votes
Vered Meir September 13, 2024

@Yash_reddy thank you! To clarify: I am checking if the Organization is blank on the issue being created (Issue B). If it is, I want to populate it with the same value from Issue A. Here's the latest version I've tried of this automation though there have been many.

2024-09-13_15-56-39.jpg

Yash_reddy
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.
September 13, 2024

One clarification is Issue B. New issue or child of A?

 

Vered Meir September 13, 2024

New issue!

0 votes
Yash_reddy
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.
September 13, 2024

Hi @Vered Meir 

Can you provide the screenshot of Automation rule.

You are checking for Automation rule If: Issue matches JQL (Organizations = empty)

and trying to copy the same value which is not clear.

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