Is there a jira function/method that allows you to edit a project's permissions, i.e. adding/removing roles in the permission scheme, through a python script?
Hello Edgar!
There's indeed a Python library for Jira with some features and methods:
However, using REST API we do have an endpoint to add/remove roles in the permission scheme:
You can use the Python library to call this endpoint and perform API calls on this endpoint and achieve what you're looking for.
Does that help in your case?
Thanks,
Francisco Oselame
I think that's pretty close. What I was wondering was if that Jira-Python library, after creating a JIRA instance, is there an internal function that allows you to do something to the effect of jira_object.grant_user_permission(<user>), and the same for all other JIRA permission actions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️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.