Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Text/url from description into Custom field

Administrator August 18, 2023

Hello
I need to copy in the description, the line that contains the url or at least the url and put it inside a custom field.
I tried to do it like this:
{{issue.description.match(" (Host* .\S+)")}} or with \w.
I made several changes as I researched some examples, and when running in automation the log shows success, but the custom field remains blank.
Can you help me?

description.jpg

 

log-automation.jpg

1 answer

1 accepted

1 vote
Answer accepted
Kian Stack Mumo Systems
Community Champion
August 18, 2023

Try updating your smart value to this:

{{issue.description.match("(.*www\..*)")}}

Administrator August 18, 2023

Hi Kian,

It worked!
Thank you very much!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events