Remove releases from project sidebar

Christian Pascher
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.
February 22, 2018

Hi, 

is it possible to remove items like "Releases" or "Components" from the project sidebar of software projects?

Background: there are business people out there which love Boards, but not the technical stuff that comes with software projects per default.

 

Kind regards
Christian

4 answers

2 accepted

3 votes
Answer accepted
Alexey Matveev
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.
February 22, 2018

You can try to use web fragments functionality of ScriptRunner for it. Go to Web fragments and choose "Hide system or plugin UI element". Then type Component in the Hide What text field. You will see serveral items. Choose the one you need. Do the same for Releases.

Stuart Capel November 14, 2019

Thanks for this - will it hide based on project or user please?

BeeFC May 26, 2021

Where do I find that Web fragments?

I'm using the Jira cloud version.

1 vote
Answer accepted
Christian Pascher
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 5, 2018

It worked with

  • com.atlassian.jira.jira-projects-plugin:components-page
  • com.atlassian.jira.jira-projects-plugin:release-page

Condition:

!(jiraHelper.project?.key in ["SOMEPROJ"])
5 votes
Sanath Citiprolu October 1, 2018

@Alexey Matveev @Christian Pascher

Is there any possible way to remove Releases from side bar, without using Script runner??

Please let me know.

 

Thank you. 

Davin Studer
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.
November 27, 2019

You can do it via CSS in the announcement banner. Go to Administration -> System -> Announcement Banner. Put in the below CSS and replace the {ProjectKey} portion with the key of the project you would like to remove them from.

<style type="text/css">
/********************************/
/* Hide components and releases */
/********************************/
a[href*="/projects/{ProjectKey}"][data-link-id="com.atlassian.jira.jira-projects-plugin:components-page"],
a[href*="/projects/{ProjectKey}"][data-link-id="com.atlassian.jira.jira-projects-plugin:release-page"] {display: none !important;} </style>
Like # people like this
Jonathan Kinred December 4, 2019

Great answer, thanks!

BeeFC May 26, 2021

Is this only applicable for Jira on-premise version?

Is there a way to archive the same for the Cloud version?

Slava Dobromyslov January 23, 2023

Slightly improved the previous answer and removed empty <li> elements.

<style type="text/css">
/********************************/
/* Hide components and releases */
/********************************/
li:has(a[href*="/projects/{ProjectKey}"][data-link-id="com.atlassian.jira.jira-projects-plugin:components-page"]),
li:has(a[href*="/projects/{ProjectKey}"][data-link-id="com.atlassian.jira.jira-projects-plugin:release-page"])
{
display: none !important;
} </style>
3 votes
Rajkumar Santhanam September 1, 2021

Current Cloud version(Sep 2021) has a new "Features" option in the left navigation menu under "Project settings". Components is considered as "Core" function, so they don't allow you to turn it OFF whereas you can toggle "Releases" or "Code" to OFF

Nick September 3, 2021

Hopefully they add this to all project types and enable to remove certain add-ons/apps as well. We currently have so many sidebar options in every project its just ridiculous and overwhelming.

Apryl Harris July 18, 2022

@Rajkumar Santhanam - Thanks for your response! It helped me resolve an issue.

Suggest an answer

Log in or Sign up to answer