Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,460
Community Members
 
Community Events
184
Community Groups

Copy multiple linked issues to a custom field in JIRA

Edited

Hello,

I would like to have the "Issues linked" copied to a custom field in JIRA. I have configured an automation rule to copy the {{destinationissue}} using set value when the issue is linked. This will just copy only one linked issue. If there are multiple issues linked, I would like to see all the linked issues (Key) copied in the custom field.

Is it possible with automation rules? 

3 answers

"I have configured an automation rule to copy the {{destinationissue}} using set value when the issue is linked"

Do you mind sharing how to setup this automation rule @Jagadeesh Dereddy?

0 votes
wwalser
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 29, 2020

I'm not sure how Jira's cloning works, exactly, but it sounds like the automation trigger is not being fired when the clone button is used.

I assume you're using 'issue linked' trigger?

You could try adding an additional rule that uses the 'issue created' trigger to check for linked issues on newly created issues. That would involve a few more steps.

----

Trigger: issue created

Condition: Issue field condition, Links, Is not empty

Branch rule: Linked issues, all link types.

+ Action: Edit issue, use the logic you've already built above.

I am able to achieve the solution with this logic : {{issue.issuelinks.outwardIssue.key}},{{issue.issuelinks.inwardIssue.key}} when an issue is linked using the Link button and considering any issue types (like clones, is cloned by, relates to,..).

However, in this specific scenario the automation rule is not triggering to update the custom field on the original issue if the issue is cloned by using "Clone" button. As an example, on issue XYZ-1 click on clone button then creates new issue XYZ-2. The custom field on XYZ-1 is not updated through the automation rule to update the "inwardIssue".

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events