Forums

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

I'm trying to search Jira issues, and can't figure out how to search for a string

John DiNatale March 18, 2022

Example of a summary string:

"RPD Build Request for "release/comcast_rs57_cd" Branch - CER_NODE_V01.01.00.0237.01"

Example of a description string

"Previous Build: CER_NODE_V01.01.00.0237"

 

This is my search, that does not return anything:

project = RPD AND summary ~ "V01.01.00.0237"

3 answers

1 vote
Bill Sheboy
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.
March 18, 2022

Hi @John DiNatale -- Welcome to the Atlassian Community!

For JQL wildcard searches, use an asterisk to find matching text in whole "words"...and...that wildcard cannot occur at the start of the search string.

For your example, this could not work:

project = RPD AND summary ~ "*V01.01.00.0237"

But if you knew the prefix was consistent you can start with that.  For example:

project = RPD AND summary ~ "CER*V01.01.00.0237.01"

And if you knew there were multiple possible prefixes, try searching for each one like this:

project = RPD AND ( summary ~ "CER*V01.01.00.0237.01" OR summary ~ "ABC*V01.01.00.0237.01" )

Kind regards,
Bill

0 votes
John DiNatale March 18, 2022

Hi Mark, thanks for your response.

I'm using this version:

License Information for Jira

Jira v8.4.1

I can't get the wild card to work at all?

0 votes
John DiNatale March 18, 2022

Thanks for you response.

 What I’m finding, is the only search that finds it, is the exact string

 project = RPD AND summary ~ "CER_NODE_V01.01.00.0237.01"

Wild card capture does not find anything:

project = RPD AND summary ~ "CER_NODE_V01.01.00.0*"

project = RPD AND summary ~ "CER*_V01.01.00.0237.01"

 

No issues were found to match your search

Try modifying your search criteria or creating a new issue.

Mark Segall
Community Champion
March 18, 2022

I simulated your summary and the answer provided by @Bill Sheboy worked for me

Summary ~ "CER*V01.01.00.0237"

Suggest an answer

Log in or Sign up to answer