I got my calendar screen displayed without calendar names, just ... instead of the real names. Any ideas? I'm using confluence 4.2.13, team calendar 3.0.1 and Adaptavist theme builder 4.3.4, thanks
The clue is in here:
Possible solutions: removeActorsFromProjectRole(java.util.Collection, com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.project.Project, java.lang.String, com.atlassian.jira.util.ErrorCollection)
The uNameKey must be in a collection (of size 1).
And a project object is expected rather than a project key string.
And rather than passing a null ErrorCollection, create one so you can examine the result
Try
import com.atlassian.jira.util.ErrorCollections
def errorCollection = ErrorCollections.empty()
projectRoleService.removeActorsFromProjectRole([uNameKey], projectRole, project, roleActorType, errorCollection)
if (errorCollection.hasAnyErrors()) {
log.error errorCollection.toString()
}
Thank you so much! I had realized that I needed to change uNameKey to a collection but changing project to the project object instead of the project key was the extra piece that I was missing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.