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,558,628
Community Members
 
Community Events
184
Community Groups

Automation - How to copy field from linked issue when issue is linked

Edited

For clarification, I have Jira Cloud. I am trying to create an automation that copies a custom field called "Relative Control Weighting (1-10)" (customfield_10059) from the linked issue into a different custom field called "Control Weighting Score" (customfield_10079) in the current issue.

The source field is a Dropdown type. The destination field is a text type (since I found you cannot do this on a dropdown type)

After reading up on this link, I have:

When: Issue Linked - Type: Related to

Then: Edit issue field - Advanced

{
"fields": {
"customfield_10079": "{{issue.issuelinks.inwardIssue.customfield_10059}}"
}
}

 

The automation runs, but does not copy the source field to the destination field. In fact, I see nothing has changed. The audit logs show SUCCESS:

Edit issue
Issues edited successfully
ESS-209

Which is weird because ESS-209 is the issue that I am linking, and from which I want to copy the custom field. So it should not be editing ESS-209.

EDIT:

I have also tried using:

{
"fields": {
"Control Weighting Score": "123"
}
}

just to try to statically set the value to 123, but it does nothing.

2 answers

1 accepted

3 votes
Answer accepted

I figured it out!

My problem was I was attempting to update the issue that I was linking, rather than the issue on which I was creating the link.

Solution:

When: Issue linked, Type: Relates

For Linked issued: Types: Relates

Then: Edit issue fields...

Hi Rich,

I hope you are doing good.

I am also working on the similar automation requirement, can you please share your automation rules set so that I can reuse maximum and customize further to full-fill my requirement.

Thanks for your support.

Hi @Rich Johnson ,

Can you share a screenshot of the automation if you still have it? I have the same problem. But I couldn't do it.

 

Bests,

Deniz.

I am having the same issue. Does anyone else have more specifics on how to resolve this?

@Deniz Yalçıntepe @Holly Schomann 

The rule has changed slightly from when I first created it. I changed "relates" to a new custom verb "satisfies". Other than that it should be essentially the same rule. I added several custom fields I needed copied, but it all works. Note in the second screenshot I had to do both verbs "satisfies" & "is satisfied by". I can't remember if I did both and just never removed one, or if they are both indeed needed. Hope it helps.

Screenshots Here

Like Holly Schomann likes this

Thank you so much for your reply!

Suggest an answer

Log in or Sign up to answer