Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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.
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 Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.