Details
-
Bug
-
Status: Done
-
High
-
Resolution: Done
-
None
-
None
-
None
-
DevTools 55
-
0.7
Description
To reproduce:
- 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: The repository is successfully cloned.
Actual: 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
- caused by
-
SRPLAT-560 Occasional NoClassDefFound with @WithPlugin compilation customiser
-
- Done
-
- is related to
-
SRBITB-913 SimpleUserAccessGrant class not found when cloning a repo with branch permissions
-
- Done
-