I am trying to set the permission scheme of a project. I have a permission scheme named "Test".
This code passes, but the permission scheme remains "Default Software Scheme". Ideas?
public void SetPermissionScheme(Project project)
log.info("Setting project permission scheme");
PermissionSchemeManager permissionSchemeManager = ComponentAccessor.getPermissionSchemeManager();
permissionSchemeManager.removeSchemesFromProject( project );
Scheme permissionScheme = permissionSchemeManager.getSchemeObject("Test");
This is what the audit log looks like for the project:
So the permission scheme is set, then removed for some reason?
Hi @Chris Steenwyk I never used this manager but I have few ideas
Can you try to add some logging and share the log pls?
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events