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

How to copy multiple custom fields values to description?

Hello Atlsassian Community,

We are using Project Automation to create a linked issue, when the trigger issue transitions to a certain status. We would like to copy the values of several custom fields from the trigger issue to the description of the created linked issue.

Is there a way to do that?

Here an example:

Trigger issue fields:

  • Name: John (textfield)
  • Surname: Doe  (textfield)
  • Company: Stark Industries  (drop-down, single choice)
  • Access: Email, Jira, Confluence, ERP System (checkbox, multiple choice)

Created linked issue: 

  • Description (multi line text field):
    Name: John
    Surname: Doe
    Company: Stark Industries
  • Access: Email, Jira, Confluence, ERP System (checkbox, multiple choice)

Regards
Anton

1 answer

1 accepted

1 vote
Answer accepted
John Funk Community Leader Sep 24, 2020

Hi Anton - Welcome to the Atlassian Community!

We use an Automation For Jira rule to do that. Not the regular project automation, but the actual Automation For Jira tool. 

In the Description of the new issue use:

{{issue.Name}}

{{issue.Surname}}

{{issue.Company}}

Just to add further colour to John's reply, your rule might look something like:

Automation_rule_playground.png

You can find more info on smart values at https://support.atlassian.com/jira-software-cloud/docs/what-are-smart-values/

Like John Funk likes this

Thank you for your answer John!
Thank you for the visuals Mark!

I didn't expect it to be that easy :)

Does is work with checkbox custom fields as well?

In Automation for Jira there is also a native functionality to copy fields, which for any reason does not let me copy all of the custom fields. For example i can't copy the values of a select list field. How do i know? The field is not in the drop down to choose where to copy from.

Let's take the Access field from my example, which should be exactly the same field with exactly the same values on the linked issue.

regards
Anton

John Funk Community Leader Sep 25, 2020

You need to make sure that the field is available for the project (based on contexts) and screens - particularly the edit screen. 

And yes, it should work for checkbox fields as well. 

Thank you John!

I will implement and test it, and of course provide my feedback here, later.

Like John Funk likes this

Hello John!

Everything worked just fine.
Thanks you for your help!

regards
Anton

Like John Funk likes this
John Funk Community Leader Jun 23, 2021

Great!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

388 views 3 17
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