• Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 5.13.0
    • Repositories
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Update Aug 2018 - This was released in Bitbucket Server/Data Center 5.13

      Original description below:

      With the fixed hierarchy of only two layers (Projects-Repositories) proper categorisation of repositories can become cumbersome.

      This can greatly alleviate this in large organisations with many repositories.
      Tags or Labels here are the same concept as "Labels" in Jira. This is not tags as in `git tag…`

      In our use case, some things tags would be used for is specifying:

      • development teams involved and/or responsible for a repository,
      • primary technologies involved,
      • primary systems components involved,
      • status flags, etc

            [BSERV-3217] Labeling of repositories

            tomas added a comment -

            alan.henstock, you are looking for the apply method in the ``LabelService`` in the java-api.
            Create the repository via the API and use the returned object to pass into the apply method of the labelService

            tomas added a comment - alan.henstock , you are looking for the apply method in the ``LabelService`` in the java-api. Create the repository via the API and use the returned object to pass into the apply method of the labelService

            Can you create/add a label if you were creating a a repo via API?

            Thanks

            Alan Henstock added a comment - Can you create/add a label if you were creating a a repo via API? Thanks

            Joerg Baeuerle added a comment - - edited

            Thanks Jeremy.

            Joerg Baeuerle added a comment - - edited Thanks Jeremy.

            I've requested support for the label modifier in quick search at BSERV-11079. Please comment if you're interested.

            Jeremy Bailey added a comment - I've requested support for the label modifier in quick search at  BSERV-11079 . Please comment if you're interested.

            Jeremy Bailey added a comment - - edited

            Joerg, you can go into a repo and click on a label that you have set, which brings up a list of repositories that match that label. See the screenshot below for an example.

            https://prnt.sc/kjw0xp

            However, the search syntax doesn't seem to support the label: modifier yet. I'll submit a new request for support for label: modifiers in the Bitbucket search syntax, and link back to to this issue.

            Jeremy Bailey added a comment - - edited Joerg, you can go into a repo and click on a label that you have set, which brings up a list of repositories that match that label. See the screenshot below for an example. https://prnt.sc/kjw0xp However, the search syntax doesn't seem to support the label: modifier yet. I'll submit a new request for support for label: modifiers in the Bitbucket search syntax, and link back to to this issue.

            What can I do with labels apart from creating them?

            How can I filter/search repositories by means of labels?

            Joerg Baeuerle added a comment - What can I do with labels apart from creating them? How can I filter/search repositories by means of labels?

            mmquasar added a comment -

            This sounds promising (after all these years) ... looking forward to this feature. Thank you!

            mmquasar added a comment - This sounds promising (after all these years) ... looking forward to this feature. Thank you!

            tomas added a comment - - edited

            All, This feature has been included in Bitbucket 5.13.
            Happy labelling your repositories!
            Try it out and let us know what you think.

            tomas added a comment - - edited All, This feature has been included in Bitbucket 5.13. Happy labelling your repositories! Try it out and let us know what you think.

            Lots of use cases for this, definitely want to see this added.

            Rob Krawiec added a comment - Lots of use cases for this, definitely want to see this added.

            michael1665868684 - This is public suggestion tracker for Bitbucket Server.  For Bitbucket Cloud, raise an issue here - https://bitbucket.org/site/master/issues

            Imran Khan added a comment - michael1665868684  - This is public suggestion tracker for Bitbucket Server.  For Bitbucket Cloud, raise an issue here - https://bitbucket.org/site/master/issues

              Unassigned Unassigned
              98be7e2d3059 mck
              Votes:
              77 Vote for this issue
              Watchers:
              42 Start watching this issue

                Created:
                Updated:
                Resolved: