Cannot add repository to DVCS account due to UI limit of 50 entries

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 9.4.1
    • Component/s: DVCS Accounts
    • None
    • 9.04
    • 3
    • Severity 3 - Minor

      Issue Summary

      The DVCS Account Add repository dropdown appears to have a max of 50 repositories.

      In this specific example, we will try to add a existing repository named web, in a DVCS Account. In the first screenshot below, the scrollbar is at the bottom of the dropdown but the last repository listed starts with a H, so if you are looking for the repository named web, without typing anything in the filter, you won't be able to find it.

      If you type the word web in the text box it will filter the entries to only those that contain that substring, for example, see the second screenshot below. In that example you see repositories starting with larger letters but you still don't see the web repository. In this example, the last entry is Test4.Web.tools.

      If you count the number of dropdown entries in both of these examples, both of them had 50 entries. So there appears to be a limit of 50 somewhere in the Jira code and that prevents from adding a repository named web from the UI, in this example.

      Two other bugs that was ran into with DVCS Account Add repository UI:

      1. When using Gitlab Self Managed and the Gitlab groups being added have subgroups. Multiple subgroups can contain a repositories with the same name, but you can't tell tell them apart. In older versions of Jira it listed the subgroups in the Add Repository UI so you could tell them apart. But when upgraded to 9.4.1 ran into this problem.

      2. Sometimes when you add a new DVCS account no repositories are listed in the Add repository UI. The next day when you check again they are there.

      Steps to Reproduce

      1. Add a Gitlab / Github Account
      2. Have more than 50 repositories under that same Account
      3. Try to add the 51th repository and on, in the dropdown without typing anything in the filter.
      4. Try to add a repository in which there is a common string in the name in several other repositories. ( This might be harder to reproduce, but it happens in cases like the example above )

      Expected Results

      • You are able to find any repository from the DVCS Account Add repository UI with a DVCS Account which has more then 50 repositories in it.

      Actual Results

      • You are NOT able to find any repository from the DVCS Account Add repository UI with a DVCS Account which has more then 50 repositories in it.

      Workaround 1

      Workaround 2

      1. Go to your GitLab / GitHub account, rename the desired repository to a more specific name so it can be found in the first 50 entries of the DVCS Account Add repository UI
      2. In Jira, go to the DVCS Accounts page > on the desired Account, perform a manual sync by clicking on the three dots "..." > Refresh Repositories
      3. Click on the desired DVCS Account > Add the renamed repository

            Assignee:
            Mikołaj Pajor (Inactive)
            Reporter:
            Souto
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: