Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-729

Clone Repo script produces excessive project search requests when trying to generate its parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Done
    • 5.6.12
    • 6.1.0
    • None
    • None
    • DevTools 76, DevTools 77
    • 2.3

    Description

      When trying to load the page for the Clone Repo built-in script in a project-level context, ScriptRunner has to check which repos are in projects that the current user has the right to administrate. For each repo in turn, it does this by searching for all projects where the user has admin permissions and seeing if that repo's project is among them. This represents a lot of unnecessarily replicated computation and performs badly when there are large numbers of repos and projects.

      Attachments

        Activity

          People

            rlander Reece Lander
            jchoules Joanna Choules
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: