Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Edit JIRA Project Permissions in Python

Edgar Oregel
Contributor
June 5, 2018

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? 

1 answer

0 votes
Francisco Oselame
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 18, 2018

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

Edgar Oregel
Contributor
June 18, 2018

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

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! ✍️
AUG Leaders

Atlassian Community Events