how to copy users from one role to another role in Jira cloud

mohanbabu.s
Contributor
November 5, 2024

Hi Team,

I have role called as Developers i have 100 users, i need to copy the same users from developers role to system developers role. Please help me if there is a addon or any other option to work on this scenario.

 

Regards,

Mohan S

1 answer

0 votes
Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2024

Hi @mohanbabu.s ,

I think we did something similar for one specific implementation, although we just wanted to check in which project role specific users are. 

Anyway, the one way it works is by using REST API - Project role actors. Basically, you could get all users with that specific role within a project (in your case "Developers") and then use another API call to add those users to different role. I think this should do the trick (although I've never personally tested this part with assigning users to a role). You could also check the following question/answer: https://community.atlassian.com/t5/Jira-questions/Re-How-to-Add-actors-to-project-using-REST-API-curl/qaq-p/1733566/comment-id/807053#M807053

For this approach, you can use Jira automation or apps such as ScriptRunner.

Hope this helps.

Cheers,
Tom

mohanbabu.s
Contributor
November 6, 2024

Hi @Tomislav Tobijas _Koios_ 

Thankyou for this update, We will try this steps and update you if there is an issue.

 

Regards,

Mohan S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events