The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
In FishEye (2.7.14), when I search content for "blah" (including the double quotes), FishEye will give me all matches for blah (with or without double quotes before/after the string). Is there a way to let FishEye give only matches for "blah" literally, so only files which contain the string surrounded by double quotes?
The EyeQL that corresponds to my search is:
select revisions from dir "/" where (is head and content matches "\"blah\"") order by date desc group by changeset return path, revision, author, date, csid
Regardless, I still get all matches of files which do not have the quotes ...
Is this a bug?
Filed issue with Atlassian: FE-4202 - Cannot search for quoted string in content (quotes are ignored)
Try this:
select revisions from dir "/" where (is head and comment =~ ".*\"blah\".*" order by date desc group by changeset return path, revision, author, date, csid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doesn't work (I added 'content' before the =~, otherwise I get an 'unexpected token' error):
error parsing query: expecting "matches", found '=~'
And if I use content matches ".*\"blah\".*", that never matches.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am sorry, you need comment. I accidently removed it while typing. Try now, I have modified the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, that works for commit messages. But I need this for "content" search, not for searching commit messages (which is why I specifically mentioned "search ... in content" in the question).
Still, thanks for taking the time to try and answer my question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.