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

Search tags across multiple Repositories

Cameron McGuffie January 3, 2018

Hi,

We work in an environment where we are constantly working on multiple projects for multiple customers at any one time. These projects can sometimes have multiple "Opportunity Numbers" associated with them and generally someone will come to us with an opp number, looking for code.

I would like to be able to just tag the repositories with the opp number and then search all repositories for tags of the number and the associated repository is listed.

I can't seem to do this with BitBucket, does anyone know how? Or, does anyone know a better way? We need everything in one place (BitBucket).

Thanks

2 answers

1 accepted

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 4, 2018

Hi Cameron, at the moment it's not possible to search for a tag across different repositories. If you'd like, you can submit a Feature request explaining your use case at jira.atlassian.com if you're using Bitbucket Server, or site/master if you're using Bitbucket Cloud.

Cheers!

Ana

Cameron McGuffie January 7, 2018

Thanks Ana

bilobaginkgo September 11, 2019

Any news on this?

Seems like all products in this space (github, gitlab, gitea,...) have searchable tags (github calls them 'Topics'). Being able to organize code by repository or subject is a big plus.

0 votes
Julius Davies _bit-booster_com_
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.
January 7, 2018

 

Are "opportunity numbers" related to commits, or related to repositories?

And are they strictly numeric?  If they are related to commits, and numeric, you could use the fact that Bitbucket automatically indexes (across all repos) all commits that have messages containing JIRA style ticket numbers.

And so if a commit lands for "opportunity # 123", get the developer to commit with the code "OPP-123" anywhere in the commit message.

If you do that, then searches across all repos for any instance of "OPP-123" are quite doable.  My own paid add-on's "All Branches Graph" would be able to help you.  Just put "OPP-123" in the search box on that screen.

In the screenshot notice the tabs:  "aui (4) | a (2) | b (1) | c (1)".  Those are repositories (across all projects) that contains any commit messages with "DP-788".  It leverages the fact Bitbucket already indexes all JIRA-style keys found anywhere in commit messages.

all-branches-condensed-graph.png

 

My add-on (Bit-Booster - Rebase Squash Amend) is able to report on JIRA-style keys in the commit messages like this even if you don't use JIRA.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events