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 combine two text fields into one field when copying a ticket? using project automation Jira Edited

I am trying to figure out how I can combine two values (from two different fields) that I have from a ticket. I want to combine the values from organization name field and campaign name field to put them both into summary field.

Would I use the the 'more options' section on the project automation page? The format is shown like this but I am not sure how to two values into one field.

 {
"fields": {
"environment": "Thanks for raising {{issue.key}}.",
"labels": [
"bugfix",
"blitz_test"
],
"Custom Field Name": {
"value": "red"
}

 

Screen Shot 2019-03-07 at 1.25.21 PM.png

1 answer

1 accepted

0 votes
Answer accepted

Hello Jennifer,

Thank you for raising this question.

I understand that you would like to concatenate the values of two custom fields in the summary of the new issue when you clone an existing one. Is that correct?

If that's the case, you just need to add the smart values of the respective custom fields in the summary of the issue.

Smart values are the JSON reference of a field value. For a custom field, the format would be like:

{{issue.Custom Field.value}}

Where "Custom Field" is the name of your field. 

Here is an example of how you can concatenate the values of two fields (Issuekey and description):

Screen Shot 2019-03-11 at 17.27.20.png

For more reference regarding smart values, you can check the documentation below:

Available Values

Let us know if this information helps. :)

yes that helps a lot - thank you!!

You are welcome, Jenni. :)

Let us know if you face any questions about the instructions provided.

I wish you an awesome Tuesday!

Hi, is something similar possible with a Classic Project?

Hello Frank,

Unfortunately, there are no post functions in classic projects that provide you with the ability to concatenate two different values of a field in a different one.

The option offered above would be using the automation for JIRA. Please, give it a try and check if the 300 executions per/month provided by the free version will fulfill your needs.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

231 views 1 2
Join discussion

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