Search tags across multiple Repositories Edited

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

This widget could not be displayed.

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

This widget could not be displayed.

 

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,325 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you