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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Take e-mail from description field


We have tickets where in description have user e-mail like 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?


1 answer

1 accepted

2 votes
Answer accepted
Marcus Jones
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Sep 22, 2023

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. 


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:


Like Marcus Jones likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events