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,463,444
Community Members
 
Community Events
176
Community Groups

Copy field value from one custom field to another custom field - amending instead of overwriting

Hello,

 

I have a use case where I need to use smart values to copy one field value (single select) to another field (multi select). Both are user picker fields but one is single select and one is multi. I need to do this without overwriting the values that already exist in the multi-select field.

 

Any help is much appreciated!

1 answer

1 accepted

0 votes
Answer accepted
John Funk Community Leader Oct 25, 2021

Hi Adrienne,

Create your rule based on the desired trigger.

Then add a new Action for Edit Issue.

Select the multi-select field.

Then click the Copy from option from the 3 dots menu to the right of the field.

Select the single select field from the Field to copy value from 

And then click the box for Add to existing values

Hi John,

Thank you for the feedback! Works very well!!

I was able to set up my rules as you've described. My use case also involves the use of 5 single-select fields copying to one multi-select field.

My automations work well when I only update one of the single-select fields in a single edit.

Unfortunately, when I update multiple single-select fields in the same Edit, when carrying over to the multi-select field, it overwrites the values. I am guessing because it is all triggering at once. Thus, I end up with only one field's values in my multi-select field.

Like John Funk likes this
John Funk Community Leader Oct 27, 2021

Yes, I think you will have to do 5 separate updates. And I would put a Re-fetch issue between each to be sure. That will slow your rule down somewhat, but it should work. Otherwise it will get overwritten as you have discovered. 

Thank you so much! Re-fetching issue between worked like a charm :-)

Like John Funk likes this
John Funk Community Leader Oct 27, 2021

Great! Glad that worked out for you. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events