Forums

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

How to fuzzy match a summary string containing a digit

Chris Rusby
Contributor
December 16, 2014

I have two JIRA issues, with summary strings: "FOOBAR_STAGE" and "FOOBAR2_STAGE".

If I run this filter:

    summary ~ "STAGE"

The first issue is returned, the second is not. Is there any way I can construct a query to return both results?

Thanks

2 answers

0 votes
Chris Rusby
Contributor
December 26, 2014

Thanks for the suggestion Danilo. I'm not sure it's going to work in my case, because I want to match all of FOOBAR_STAGE, FOOBAR2_STAGE, BARFOO_STAGE, BARFOO2_STAGE etc.

Also, because it's the summary field, it's in the middle of a string such as "Job called BARFOO2_STAGE failed"

Best regards,

Chris

0 votes
Danilo Conrad
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 26, 2014

Hi Chris,

You may try searching using the JQL query below:

summary ~ "FOOBAR*"

Using "FOOBAR*STAGE" should also work according to our documentation, but I have tested it and it did not work. sad I will link this post to one of the bugs we have raised for problems related to the behaviour of the CONTAINS (~) operator:

https://jira.atlassian.com/browse/JRA-31882

Cheers,

Danilo

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events