Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket Server code search not working as expected

Martin Lukowsky 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

1 vote
Martin Lukowsky 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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.21.0
TAGS
AUG Leaders

Atlassian Community Events