Hello, everyone!
I can't find a solution for this:
In our company, we use group policies for access to all projects. To grant access to a project, a user must contact the administrator to be added to the necessary group. However, in some projects where users have the "Administer Project - Ability to administer a project in Jira" permission, some users abuse their permissions by adding other users to the project without contacting the Jira administrator.
I want to write a script using REST API that can clear all users in all projects who were added without a group. How can I do it?
yea, i checked it.
but i can`t find anything was can help me with my problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This post identifies an api that will give you all the people and groups assigned to a specified role in a specified project.
It will return output that lists each group assigned to the role and each individual assigned to the role.
If you parse the output, then you could use this API to remove a user from a role in a specific project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.