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

    • Bug
    • Status: Done
    • Major
    • Resolution: Fixed
    • 5.4.44
    • 5.4.48
    • None
    • None
    • Sprint 45
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: