Forums

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

Programmatically elevating user permissions temporarily

Aris Kourtesas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2019

I have a custom script that creates some new issues. One of the step it does is to copy over the assignee of the issue.

At the same time I have an issue permissions that dictates that this action can only be performed by users with elevated rights. This in turn means that not all users can properly use that function.

Ideally I do not want to give those user said permissions but I want my script to do it temporarily for them.

Is there any way of giving a specific permission to a user for a given project and revoking once done in a programmatic manner?

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
October 31, 2019

I don't think so.

Instead, you may want to run the script on behalf of a super-user (not the currently logged-in user).

Suggest an answer

Log in or Sign up to answer