The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
Im trying to remove our E-mail signature from incoming comments on an issue, but with no luck so far.
This is where im at now, after trying many different Smartvalues syntax.
I want to remove all the text after the redline using the "substringafterlast" function, can someone help me figurering it out?
Hi Mikkel,
If I understand correctly, you want to remove the email signature from this comment using automation. The substringAfterLast() function has a note of its function:
Returns the text after the last occurrence of the given separator.
In your example, the string of that URL is repeated again at the bottom of the signature. Hence, this is not returning what you expect here. Perhaps you can adjust this string to be
eicon.dk <https://eicon.dk>
As this should then match the line I think you are expecting.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.