Hello,
I am working with jira automation and smart values and am running into a blocker when trying to extract just one label (out of 2-3) from an issue. I would like to extract an application name from a label such as "app_AppXYZ" and was successful in doing so using the following: {{issue.labels.substringAfter("app_")}}
However, the issues will have 2-3 other labels and the end result comes out as "AppXYZ,,," (the 3 commas being the other labels).
I tried to use {{issue.labels.substringBetween("app_","the_other_label")}} as well as {{issue.labels.substringBetween("app_",",")}} but neither were successful.
Any suggestions or help would be so appreciated! Thank you!