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
Community Members
Community Events
Community Groups

Script to hide the delete folder option for Xray test repository

We are using the xray test repository for managing the manual test in our company, the problem with that is there is onle one role that addressed who can create or delete the repo/ folder tree. This is causing the huge chaos as users are mistakenly deleting the root folder rather than the one child they don't need. Can anyone help me with the script to hide the UI 'delete' option  ? I'm fairly new to script runner it does not seems very easy to do so. 

Any help is very much appreciated.

1 answer

I strongly recomend this KB 

Review need to restrict editing at Test Repository 

but it do not remove the delete folder option just retrict to create and edit too.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

1,498 views 11 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you