Hi
please find the API link to add project role.
Thanks
Anil Singh
Programmer Analyst
ProjectRoleManager is linked with the project roles. I created project roles as shown below, but I don't know how to add users or groups to a project role.
ProjectRoleManager prm=ComponentAccessor.getComponentOfType(ProjectRoleManager.class);
ProjectRole pr=new ProjectRole() {
public String getName() {
// TODO Auto-generated method stub
return roleName;
}
public Long getId() {
// TODO Auto-generated method stub
return id;
}
public String getDescription() {
// TODO Auto-generated method stub
return description;
}
};
prm.createRole(pr);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.