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

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 5.6.12
    • Fix Version/s: 6.1.0
    • Labels:
      None
    • Sprint:
      DevTools 76, DevTools 77
    • Critical Points:
      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

          Structure

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel