The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Regex on a Lookup Table value?

Jamie Gordon
Contributor
November 16, 2023

I'm trying to run a regex using match() on a Lookup Table value. Here my code

{{YaypayParams.get("longInvoice").match(".*^(C|CI|CID)-\d{1,10}$.*)}}

This code produces an error. Can this work? 

Jamie

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Ste Wright
Community Champion
November 24, 2023

Hi @Jamie Gordon 

What are you trying to achieve with the rule?

If you could provide detail on the wider rule itself also (esp. the Lookup table) - that'd be very useful :)

Ste

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events