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

Cloning of ScriptRunner objects in Bitbucket applies cloned repo to all SR objects with the same name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.44
    • Fix Version/s: 5.4.48
    • Labels:
      None
    • Sprint:
      Sprint 45
    • Critical Points:
      0

      Description

      Cloning of ScriptRunner objects in Bitbucket applies cloned repo to all SR objects with the same name. Not just the relevant objects of the repo being cloned.

      For example:

      Pre-clone SR Event setup:

      "Auto add reviewers to pull requests" - Repos: "SR / scriptrunner"

      "Auto add reviewers to pull requests" - Repos: "SR / aws-iam" "SR / aws-lambda" "SR / sr-for-connect"

      "Auto add reviewers to pull requests" - Repos: "CA"

       

      Result following clone of "SR / scriptrunner" repo:

      "Auto add reviewers to pull requests" - Repos: "SR / scriptrunner" "SR / scriptrunnerclone"

      "Auto add reviewers to pull requests" - Repos: "SR / aws-iam" "SR / aws-lambda" "SR / sr-for-connect" "SR / scriptrunnerclone"

      "Auto add reviewers to pull requests" - Repos: "CA" "SR / scriptrunnerclone"

       

      Expected result should however be:

      "Auto add reviewers to pull requests" - Repos: "SR / scriptrunner" "SR / scriptrunnerclone"

      "Auto add reviewers to pull requests" - Repos: "SR / aws-iam" "SR / aws-lambda" "SR / sr-for-connect"

      "Auto add reviewers to pull requests" - Repos: "CA"

       

      This appears to affect the current release

       

        Attachments

          Activity

            People

            Assignee:
            rgiddings Robert Giddings
            Reporter:
            rgiddings Robert Giddings
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: