The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Bitbucket Server code search not working as expected

Martin Lukowsky
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2022

When I am searching for java packages in Bitbucket code search, the expected results are not found.

I search for com.google.gson Bitbucket does not show java classes importing this package, although the search syntax page (https://confluence.atlassian.com/bitbucketserver/bitbucket-search-syntax-814204781.htmldoes state, that "." may be included.

Searching for com google gson does also not find the desired files.

How can I reliably search for java packages?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Martin Lukowsky
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2022

It seems like searching for the terms in double quotes works.
So, if you want to search for the package com.google.gson you need to actually search for "com google gson"

Still, I'm not 100% sure that this is the correct solution, though.

DEPLOYMENT TYPE
SERVER
VERSION
7.21.0
TAGS
AUG Leaders

Atlassian Community Events