Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to concatenate multiple custom field values together for summary Groovy/JMWE

Durell Demartini
Contributor
November 18, 2025

Hello,

I am creating a sub-task using the JMWE Create/Clone Issue post-function. I would like to concatenate some custom field values together with string text using a groovy expression.

So for example, I'd like the summary of the sub-task to be something like "Environment:" "environment value from parent/trigger issue" and "Location:" "location value from parent/trigger issue"

I tried issue.get("customfield_12345") and it works on its own, meaning if I just wanted to display the value itself as a summary, I think "issue.get("customfield_12345")" would work.

However, I don't know how to blend string values with custom field values.  

Environment: "issue.get("customfield_12345") "and" Location: issue.get("customfield_56789") 

I hope this makes sense. Thanks in advance for your time.  :)

2 answers

2 accepted

1 vote
Answer accepted
Aaron Pavez _ServiceRocket_
Community Champion
November 18, 2025

Hi!

Use this in between +" - "+ . that will join the values.

Regards

 

 

0 votes
Answer accepted
Trudy Claspill
Community Champion
November 18, 2025

Hello @Durell Demartini 

There are answers to that question in this old 2019 post. I don't have access to a DC environment with JMWE to confirm that these suggestions work.

https://community.atlassian.com/forums/Jira-questions/Concatenation-of-multiple-custom-fields-with-separator/qaq-p/1067787

Suggest an answer

Log in or Sign up to answer