Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Hide the delete Project Button

Anzar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 19, 2022

Hi,

We are trying to hide the delete project button functionality for admins from the Projects menu screen. I was able to hide on the project setting screen using script runner fragments.

The reason we need it hidden is to allow no user to delete the project/project data including the admins.

You can also suggest a javascript to add in announcement banner to hide the same.

Regards,

Anzar Khan

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 19, 2022 edited

Hi @Anzar

This is not doable with ScriptRunner. Even if you try and use the Fragments, you will not be able to hide that field.

In Jira, if a user is granted Administration rights, it implies that the user will have admin and implicitly rights to delete a project.

You can try the alternative approach, i.e., creating a group with most Admin rights except the rights to delete the project. 

A similar question was asked and answered in this community post.

Thank you and Kind regards,

Ram

Anzar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 20, 2022

I don't find the delete project permission as separate permission in Jira.

I want to all the current privileges and stop only the delete project functionality in Jira. Is this possible through some JS in the announcement banner?

Regards,

Anzar

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events