Good day!
I am desperately trying to automate this flow:
Using this smart value:
{{#issue.comments}} {{body.match("((\w+\.\w+)(?=].*merge request))")}}{{/}}
Sadly, the value is produced with spaces (found out by using "add comment to issue" component)
but I was not able to trim it.
Using:
{{#issue.comments}} {{body.match("((\w+\.\w+)(?=].*merge request))").trim()}}{{/}}
does not solve the issue. I assume I should trim after the loop but I could not find any accepted syntax.
There is naturally also the possibility that the spaces are not the problem and instead I should be changing the assignee of the issue in another way/using a key instead?.
I tried using edit issue field and a custom payload but could not manage either.
Furthermore, I obtain this value by reading the comment left by gitlab integration, hence why I only get the name.surname, that coincidentally is always the same as the name of the jira user.