Forums

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

Automation Smart Values Regex Match

arielei
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.
November 10, 2025

Hello Community,

We'd love some help in fetching a number with regex.

My string is: "CIO: 15%"

I want to fetch: 15

i tried doing 

{{issue.customfield.match("\d+")}} but its not working.

 

anyone knows the correct syntax?

Thanks

Ariel

1 answer

1 accepted

3 votes
Answer accepted
Mohamed Benziane
Community Champion
November 10, 2025

Hi,

 

I just tested it, and you need something like this : {{issue.summary.match("(\d+)")}}

arielei
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.
November 10, 2025

Hey @Mohamed Benziane 

found the problem, what you wrote works, thank you.

Suggest an answer

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

Atlassian Community Events