You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi
We have tickets where in description have user e-mail like mari@kalle.ee. I read that i can't directly set e-mail to Reporter system field and so i created Reporter e-mail custom field (text field type).
now automation take out e-mail from description field how it should but format on custom field is not correct.
Field value: {{issue.description.substringBetween("E-post:","\n")}}
Right now format is not ok for me. What i should change?
Hi Urmo,
You might try using a variable instead. For example, I do something similar, but I am editing the Reporter field, not a custom field.
Fortunately for me it is more clear cut since the email is surrounded by **.
So I create a variable = FromSender using {{issue.description.substringBetween("**","**")}}
and then in the field I want to set, just apply the variable {{FromSender}} and all is well.
It seems to me like your syntax is not terminating at the correct end position.
Hi
Seems to be that there is some not the best solution but here is how i did do it now:
First take out e-mail address from description:
{{issue.description.match(".*E-post: (\S+).*")}}
After that i did issue edit again because right now i dont have any good idea how i can clean custom field from not needed values. it show with this data right now:
There is [ mark, then e-mail and after that |mailto: ] what is not needed form me. So i did edit issue again:
And now after this grazynes it is beautiful for me:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.