How am I able to spit out this output:
CachedRoleActors[delegate=ProjectRoleActorsImpl[projectId=10100,super=DefaultRoleActorsImpl[projectRoleId=10002,roleActors=[UserRoleActor[id=10202,projectRoleId=10002,projectId=10100,parameter=mike123], GroupRoleActor[id=10200,projectRoleId=10002,projectId=10100,parameter=jira-administrators]]]],optimizedProjectRoleSet=[UserRoleActor[id=10202,projectRoleId=10002,projectId=10100,parameter=mike123], GroupRoleActor[id=10200,projectRoleId=10002,projectId=10100,parameter=jira-administrators]]] 2018-01
into something more readable, and have the actual project ID's (4 letters) rather than the numbers?
I'm iterating over the Project items, and trying to convert them using:
def roleID = projectRoleManager.getProjectIdsForUserInGroupsBecauseOfRole(4, projectrole, projectRoles, user)
But I'm not sure if this is the right implementation for it.
I would like to do the same for my other id's i.e. groupRoleActor id etc.
Thanks