Forums

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

Create a filter

Y April 16, 2012

Hi, I would like to create a filter with this SQL statement (which is working) project = yyy AND assignee = currentUser() AND component in (build-aa, build-bb, build-cc, build-dd, build-ee, build-ff) AND status = Resolved I would like to use for the component in (build-*) , I try to use LIKE , % without any success , please advice BR yossi

7 answers

1 accepted

0 votes
Answer accepted
Christian Czaia [Decadis AG]
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.
April 16, 2012

Hey,

seems like wildcard search in JIRA JQL still seems to be limited to free text fields and is performed by the "CONTAINS" operator:

http://confluence.atlassian.com/display/JIRA043/Advanced+Searching#AdvancedSearching-CONTAINS

I guess (correct me if I'm wrong), that your issue relates to this open JIRA issue:

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

Cheers Christian

P.S. You can also check this post:

https://answers.atlassian.com/questions/30052/jql-wildcard-search-of-version-list-like-fixversion

0 votes
Christian Czaia [Decadis AG]
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.
April 17, 2012

On the right hand side next to an answer you find buttons where you can vote up or down an answer. Equally you find a button to accept an answer.

Cheers

0 votes
Y April 17, 2012

How to do it ?

Thanks

0 votes
Y April 17, 2012

Hi Christian,

Yes - marked as answered .

BR

Yossi

0 votes
Christian Czaia [Decadis AG]
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.
April 17, 2012

Hi yossi,

only you can accept an answer ;-)

0 votes
Christian Czaia [Decadis AG]
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.
April 16, 2012

Hey,

have you voted for the existing issue? I really hope they fix this pretty soon.

Cheers Christian

P.S. Can this post be marked as answered?

0 votes
Ramiro Pointis
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.
April 16, 2012

Hi Yossi, last week I was with the same problem and I found this page. But I didn't had the time to test it, you could give it a try! Hope this helps!

Ramiro Pointis
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.
April 16, 2012

That must be what Christian mentioned in the other answer. I've been trying in so many ways to use the LIKE clause but it appears that doesn't existe in the JQL Query. We could vote into the JRA-24152 that Christian said, to make it count for another update.

Y April 16, 2012

Hi Ramiro,

Thanks for your answer.

I knw this page - it is from help when writing a filter, but the examples are not working for components .

Br

Yossi

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events