You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have a scenario where some users in Bitbucket have Admin access for their respective project (they aren't "Bitbucket Admins", they just have the admin access for that project provided via the Project permissions). I want to be able to prevent these users from editing their Project Key, while retaining their other admin privileges.
Is there a way to hide / disable the project key editing for these users? I have tried through scriptrunner but could not find a way to hide this specific UI element.
Hi @Roy Powell
Maybe hiding the project key field is not the only way. I believe you can achieve this with an event listener that would cancel the edit action. We are working on an answer for this and will get back to you soon
Regards
Yannis
Hi @Roy Powell
We have released a new script that you can use here :
https://library.adaptavist.com/entity/prevent-project-administrators-from-changing-the-project-key.
Using this script, the 'Project Key' field will not be hidden, but when a project admin tries to change it, their request will be cancelled with an error message.
You can also modify the script to block them from changing other project properties, like name, description, public etc
Hope this helps!
Regards,
Yannis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yannis Argyropoulos _Adaptavist_ this is fantastic and exactly what I was looking for, thanks so much for going to these lengths to help me out.
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.