Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

430 views 2 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you