Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

team calendars names not displayed

SherryX
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 6, 2013

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

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 14, 2023

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()
}
Ruben Segura
July 17, 2023

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.  

TAGS
AUG Leaders

Atlassian Community Events