Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Merging two smart values

Rodrigo Sala March 7, 2024

Hi, 

I am trying to use smart values in order to extract some piece of string from each ticket description which repeats on every ticket. The issue is that the text between that string coincide with the text of other previous content which I cannot change but don't want to get as output.

Using {{issue.description.substringBetween("whatever","whatever")}} is not useful as the output would be the first text I don't want to get.

I need to add a starting point to look for that value after the previous text I don't want to get using {{issue.description.substringAfterLast("whatever")}}. Basically telling the automation to look for a string between X and Y values but starting from Z value (preventing the first results to show.

Something such as merging those two smart values: {{issue.description.substringBetween("whatever","whatever")}} AND {{issue.description.substringAfterLast("whatever")}}. 

Is this possible? If yes, how this should be? 

Thanks for your help!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events