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,360,174
Community Members
 
Community Events
168
Community Groups

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

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

117 views 0 9
Read article

Atlassian Community Events