Can I hide the commits OR source OR subversion tab on an issue view screen?

We've just started using Stash in addition to Subversion. Now we have 3 tabs related to sourcecode on the issue view screen, Commits (cvs) , Subversion, Source (Stash).

Is there a way to disable the unneeded tabs per project ? I know about the 'view source' permissions, but this hides all the tabs instead of the unneeded ones only.

5 answers

1 accepted

This widget could not be displayed.
Richie Gee Atlassian Team Aug 16, 2013

Hi there,

In simple, for SVN subversion plugin, the user need to be in View Version Control permission to able to see the commit on the subversion tab.

For source tab, the user need to be in 'View Development Tools' permission to be able to view the commit on the source tab.

For Commit tab, the user need to be able to log work to see the tab.

To hide, remove the user from the permission.

Hope this is what you are looking for, cheers :)

Hi Richie,

it is what I'm looking for, but there's no 'View Development Tools' permission in the permission scheme. Maybe this is added in a newer Jira version ? (I'm running 6.0.6)

Richie Gee Atlassian Team Aug 18, 2013

Hi there,

You are in the latest version, and it has been changed to "View Issue Source Tab" permission for the user to view the Source Tab.

If you are not using the commit tab, you can disable it entirely from the system plugin "DVCS Connector Plugin" then the commit tab will no longer be visible. Or similar to the source tab, removing the permission should remove the commit tab as well.


Hi there I'm on JIRA 6.3.4, and I can't find neither "View issues source tab" nor "View Version control permission". Was it renamed again?

This widget could not be displayed.

Paste this into the annoucement banner section in order to disable the "Subversion" tab:

<style type="text/css">

#subversion-commits-tabpanel { display: none; }


Or if you can code the relation between project and hidden tabs, take a look to this approach.

Edit: Also, you can disable the "Subversion" tab by disabling the module "Subversion Changes Tab Panel" from the subversion plugin, or the CVS by disabling the "CVS tab panel" module from "Issue tab Panels" system plugin.


This widget could not be displayed.

You can do it easily using javascript (jQuery).

Go to Administration->System->User Interface->Announecement Banner and add following code:

<script type="text/javascript">
    if (jQuery("#project-name-val").text().indexOf("---paste-your-project-name-here---") != -1)
       jQuery("#subversion-commits-tabpanel").attr("style", "display: none;");

This way you can disable the desired panel only for certain project. If you want to disable for more than one project you can simply add multiple condition in if like this:

if ( (jQuery("#project-name-val").text().indexOf("project1") != -1 ) && (jQuery("#project-name-val").text().indexOf("project2") != -1 ) )

You can disable any element on the issue screen like this. Right-click element in browser, choose "inspect element" and check the id of the DIV containing it. Usually it should be something like "XXXXXXX-module". Copy the id and paste it to this line:

jQuery("#PASTE-ID-HERE").attr("style", "display: none;");

This widget could not be displayed.

Thanks Richie,

I guess what I want just isn't possible yet. (only show the 'source' OR 'commits' OR 'subversion' tab depending on what the project is using, and hide the 2 empty tabs, and all this on a per project basis not for all projects)

As permission scheme is on a per project basis, it is possible to hide all tabs for a project, or display only "source" or only "commits.

This widget could not be displayed.

Hi All,


I am using JIRA 7.3.7 and tried the above solution for changing project permission for "View  Development Tool". But still i see it is not working.

I have made the "View Development Tools" permission for Jira-admins or with admin role. But i have tested and get to know that even a user in just a User role is been able to see commits in the "Subversion ALM" tab in the issues. 


Please let me know how to achieve this as this is  very important for our security for users. We are using a large number of users for single project in JIRA. Let me know if you need any other  info or details.  Thanks!


--Aviansh Gautam


"Subversion ALM" is not official Atlassian Subversion plugin (which is no longer supported) and I guess it does not honor "View Development Tools" permission.

Please report issue to plugin vendor support at

so that this permission checking may be added.


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

112 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you