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,294,213
Community Members
 
Community Events
165
Community Groups

Copy a value and pasting it into a different field Automation for JIRA

Hello,

I would like to copy values from the fields 'First Name' and 'Last Name' into 'Display Name'

Im having trouble working out how this works under 'More options'

 

Snip20200513_723.png

 

I tried and a few other options but not sure how it works. Any help?

 

Snip20200513_725.png

1 answer

1 accepted

1 vote
Answer accepted
John M Funk Community Leader May 13, 2020

Hi Harry - One option might be to do it with an Automation For Jira rule. Are you in Cloud or Server?

Hi @John M Funk 

 

That is what I am trying to do. This is Automation for Jira. 

 

I am using Cloud

John M Funk Community Leader May 14, 2020

Why are you trying to do it under More options? 

Are all 3 fields in the same issue?

Do a component for Edit issue

Select the Display Name field

Then in the Set value box, but in something like:

{{issue.First Name.value}} {{issue.Last Name.value}}

Like # people like this
John M Funk Community Leader May 14, 2020

Or you can do:

{{issue.customfield_10210.displayName}} {{issue.customfield_10211.displayName}}

Thanks @John M Funk 

 

That worked :)

John M Funk Community Leader May 17, 2020

Great! Glad I could help. 🙂

@John M Funk   have read your posts here and many others about automation -  it makes sense but after 4 hours of trying multiple ways to do this, I can't seem to get the automation working.  I am new to this so I must be doing something wrong but I can't figure out what. I did get the automation to run once successfully but I tried testing on another ticket it did not work and hasn't since.

We have:-
custom field called QA Story points  which is customfield_10053 
when the issuetype = Test and the QA Story points field is not empty  ie whenever it has any value different to 0 or has nothing in it then copy that value to the Jira stock Story Point field.

Sounds simple enough right ? :-(  I started with this automation as I wanted to start with something simple and I need to be able to do much more complicated ones next. Any guidance you can give would be appreciated

Suggest an answer

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

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

343 views 0 7
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