How to add role actors in jira using jira java api?

how to add role actor in Jira using java API?

1 answer

1 accepted

0 votes
Accepted answer

Use a ProjectRoleManager to maintain users and groups in a project.

I used the same ProjectRoleManager for adding project role which I added successfully but I don't know how to add groups, users or role actors by using ProjectRoleManager.

Create a collection of the ones you want to add and then use projectrolemanager.updateProjectRoleActors.

ok, I will try this.

Thank you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

63 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you