Forums

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

Pull text from link in comment

Deleted user September 22, 2021

Hi,

When users post a specific link in the comments under a card, for example: https://www.support.com/ticket/ticketnumber. I'd like to create a rule that extracts this last part, the ticket number, from the link and post it in a custom field named ticketnumber.

 

I would love to hear if this is possible :)

 

Thanks in advance.

 

1 answer

1 vote
milynnus
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.
September 23, 2021

@[deleted] 

Try this

when a comment containing "https://www.support.com/ticket/{* }{*}" is posted to a card, set custom field "Reference" to "{wildcard1}"

Iain Dooley
Community Champion
September 23, 2021

@[deleted] @milynnus I think you need to remove the space after the first *

milynnus
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.
September 23, 2021

@Iain Dooley 

I tested it before my post. This is because am assuming that there is a space between the url and text after it. In any case, @[deleted] you should test it. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events