Forums

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

jql syntax for a string of variables

Alyssa Hill
Contributor
February 7, 2024

Hi there, I need to create a queue that searches for a specific value that has a string of numbers included in a text field. For example, the description field may contain text of:

Project xyz -VCTSI1234. 

Project abc -VCTSI1111

I need to pull in any ticket that comes through where the text contains

-VCTSI regardless of the string of text that comes before or after the 'I' 

I've tried to use the same setup we have in one of our automation rules, but it's coming back is invalid: 

text ~ -vctsi or text ~ -vctsi

 

I've also tried the below individual statements:

text ~ "-VCTSI (\d+)"

 

Here is the automation statement that works w/ success with a different custom field: 

{{issue.description.match("PID (\d+)")}}

 

Thank you! 

Alyssa Hill 

0 answers

Suggest an answer

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

Atlassian Community Events