Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,526
Community Members
 
Community Events
176
Community Groups

Prevent project-level Bitbucket Admins from changing the project key

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.

1 answer

1 accepted

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.

Screenshot 2022-02-14 at 15.45.07.pngYou can also modify the script to block them from changing other project properties, like name, description, public etc

Hope this helps!

Regards,

Yannis

Like Roy Powell likes this

@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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events