Forums

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

JQL filter part of string

Domagoj Zecevic
Contributor
February 22, 2018

I need to setup filter that will search 2 strings in Summary field. My problem is that this strings can be parts of another string

Example: SomeSTRINGi need and antoherTHINGineed to find.

I need to list all issues in project that contains STRING and THING.

Background is that there is email handler i sometimes people just don't use space so doing something like:

project = "AAA" AND summary ~ STRING and summary ~ THING

Does not simply help.

Thanks
Domagoj

1 answer

1 accepted

2 votes
Answer accepted
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 22, 2018

Dear @Domagoj Zecevic,

have you tried:

project = "TST" AND (summary ~ "field" AND summary ~ "check")

worked for me.

EDIT: what you would required is "*field*" but this is not implemented in JQL, yet. First letters are not allowed to be '?' or '*'.

So long

Thomas

Domagoj Zecevic
Contributor
February 22, 2018

Hi @Thomas Deiler

I have tried it, and it does not work. My problem is that i need just middle of the string...

Thanks
Domagoj

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 22, 2018

As I wrote - JQL lacks the ability of wildcard search.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events