Hi
We do not want to expose the newly added tabs like Issue Type, Workflows, Screens, Fields, Permission, Issue Security, Notifications etc from Project Role of Administrator (Administartor of a single Project)
We do not provide Administrators the ability to change anything its all controled by JIRA Administartors
Any simple way to turn off the Tabs ?
Thanks
<script> (function($){ $(document).ready(function(){ AJS.$('li.menu-item[title="Workflows"]').hide(); AJS.$('li.menu-item[title="Issue Types"]').hide(); }); })(AJS.$); </script>
This snippet hides the Workflows and Isse Types menue when added to the system banner. You cold also create a plugin. What's missing yet is the check for jira-administrators. I remember there is a snippet in aac how to check if the user is a jira-administrator using a rest call.
Presumably wouldn't work unless the user has their language set to English... guess there are no IDs on the elements...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you are right, works only for English language ... some enclosed elements have ids so this could be improved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Replacing the two language specific hide() commands above by these makes the solution language independant
AJS.$('#view_project_issuetypes_tab').parent().hide();
AJS.$('#view_project_workflows_tab').parent().hide();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Though the tabs are hidden, the user can be able to see the sections on summary page. Is there a way to hide them on Summary page as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this is handled with JS, the ordering will become uneven. for example, the existing display is having 2 colums with 5 elements in each section. If i hide 4 elements in the first column, then the display will become uneven with one element in first column and 5 elements in 2nd column. So if there is way to handle this from server side, the ordering will be taken care automatically. Any idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dieter, Any comment please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A similar question, on Issue summary page(issuesummaryblock.vm), there are two columns specified with class class="property-list two-cols" for <ul> tag. I searched for the css with the mentioned class but i did not find. Is there a way to make it three columns?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dieter, Any update please??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to Dieter for sharing! I modified the script a bit in order to hide the "Projects" menu:
<script>
(function($){
$(document).ready(function(){
AJS.$("#browse_link").hide();
});
})(AJS.$);
</script>
I searched for "hide projects menu" without luck - hopefully if anyone else is trying to accomplish this they'll find this response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to Dieter for sharing! I modified the script a bit in order to hide the "Projects" menu:
<script>
(function($){
$(document).ready(function(){
AJS.$("#browse_link").hide();
});
})(AJS.$);
</script>
I searched for "hide projects menu" without luck - hopefully if anyone else is trying to accomplish this they'll find this response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.