Forums

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

How to concat strings in Jira Automation

Heinrich Bärhausen October 17, 2023

We have an automation rule to clone a specific story in the next sprint when it is set to status DONE. Everything works perfect, but we struggle with the issue summary.

The new issue summary clones mainly the summary from the done issue, but at the end we add the sprint number of the new associated sprint.

I have to smart values, {{issue.summary.left(72)}} and  {{sprint.name.right(2)}} , which work correctly for their own. 

How to combine? We did not find a concat solution.

 

Thanks in advance

1 answer

1 vote
Vishal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2023

Hi @Heinrich Bärhausen 

If I understood you correctly, you just want two smart values in the summary, correct ? If so, you dont need to concat it by default, you can add multiple smart values simultaneously.

e.g. Summary - {{Value 1}} {{Value 2}} {{Value 3}} assuming their actual value are same as their name, the actual summary would look like below :

Summary - Value 1 Value 2 Value 3

Hope this helps.

Heinrich Bärhausen October 17, 2023

Hi Vishal,

thanks for your fast response, but I'm sorry, this does not work.

If  I enter both values in one line following your example, automation seems to work in serial mode,

e.g.: If I create a test issue with the summary "This is test issue of sprint 14 " and put it in the sprint 15, my result should be a summary "This is test issue no. 15".  Because I cut the issue summary from the left and add the sprint name cutted from the right.

But automation just creates "15".

Heinrich Bärhausen October 17, 2023

Hi Vishal, it's me again. I've found the reasosn, was a small typing error. So your suggestion works

Like Vishal likes this
Vishal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2023

Hi @Heinrich Bärhausen 

Glad to know it worked out.

Suggest an answer

Log in or Sign up to answer