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. :)
Hi!
Use this in between +" - "+ . that will join the values.
Regards
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.