Details
-
Type:
Bug
-
Status: Done
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 6.9.0, 6.14.0
-
Fix Version/s: 6.15.0
-
Labels:None
-
Sprint:DevTools 91
-
Critical Points:3
Description
Steps to Reproduce
Provide a detailed step-by-step process to reproduce the problem.
- Set up any branch permission on a repo.
- Go to Built-In Scripts > Clone a repository and select that repo.
- Fill in the rest of the form and click Run.
Expected Behaviour
The repository is successfully cloned.
Actual Behaviour
The following error appears:
Error: com/atlassian/stash/internal/repository/ref/restriction/SimpleUserAccessGrant java.lang.NoClassDefFoundError: com/atlassian/stash/internal/repository/ref/restriction/SimpleUserAccessGrant at com.onresolve.scriptrunner.canned.bitbucket.admin.CloneRepo$_copyBranchPermissions_closure9$_closure23.doCall(CloneRepo.groovy:468) at com.onresolve.scriptrunner.canned.bitbucket.admin.CloneRepo$_copyBranchPermissions_closure9.doCall(CloneRepo.groovy:467) at com.onresolve.scriptrunner.canned.bitbucket.admin.CloneRepo.copyBranchPermissions(CloneRepo.groovy:466) at com.onresolve.scriptrunner.canned.bitbucket.admin.CloneRepo$copyBranchPermissions$3.callCurrent(Unknown Source) at com.onresolve.scriptrunner.canned.bitbucket.admin.CloneRepo.doScript(CloneRepo.groovy:215)
Attachments
Issue Links
- relates to
-
SRBITB-437 SimpleUserAccessGrant class not found when cloning a repo with branch permissions
-
- Done
-