Details
-
Bug
-
Status: Done
-
Major
-
Resolution: Fixed
-
5.4.44
-
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