It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Remove Share with Everyone Option on Filters

Gena Cotter Jun 13, 2011

Is it possible to remove the share with everyone option on Filters in JIRA V4.2.1?

I have tried editing the edit-share-types.jsp and select-share-types.jsp files but it does not seem to work.

2 answers

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Go2Group] Community Leader Jun 13, 2011

You should modify the edit-share-types.jsp under /template/aui.

Modify lines from 22- 26 as:

<select id="share_type_selector">
<ww:iterator value=".">
<ww:if test="./shareTypeLabel != 'Everyone'">
<option value="<ww:property value="./shareType"/>"><ww:property value="./shareTypeLabel"/></option>

Gena Cotter Jun 14, 2011
Hi Jobin, Can you let me know the exact file path to this? I cannot seem to find folder aui? I had edited this file under at /atlassian-jira/template/standard/ Thanks, Gena
Jobin Kuruvilla [Go2Group] Community Leader Jun 14, 2011
Gena Cotter Jun 14, 2011
Thanks Jobin, worked perfect!
Rolf Rolf Feb 10, 2014

Thanks for the idea! We (hopefully) improved the implementation on Jira 6.1 by checking the id and not the translated value, by removing the Add Everyone button, and by selecting project as default (instead of group):

&lt;select class="select medium-field" id="share_type_selector"&gt;  
    &lt;ww:iterator value="."&gt;  
        &lt;ww:if test="./shareType != 'global'"&gt;  
                value="&lt;ww:property value="./shareType"/&gt;"  
                &lt;ww:if test="./shareType == 'project'"&gt;selected&lt;/ww:if&gt;  
            &gt;&lt;ww:property value="./shareTypeLabel"/&gt;&lt;/option&gt;  
&lt;ww:iterator value="." status="'typeStatus'"&gt;  
    &lt;span id="share_&lt;ww:property value="./shareType"/&gt;" &lt;ww:if test="@typeStatus/first == false"&gt;style="display:none"&lt;/ww:if&gt;&gt;  
        &lt;ww:property value="./shareTypeEditor" escape="false"/&gt;  
        &lt;ww:if test="./addButtonNeeded == true"&gt;  
            &lt;ww:if test="./shareType != 'global'"&gt;  
                &lt;span class="addShare" id="share_add_&lt;ww:property value="./shareType"/&gt;"&gt;&lt;span class="icon jira-icon-add"&gt;&lt;/span&gt;&amp;nbsp;&lt;ww:text name="'common.sharing.add.share'"/&gt;&lt;/span&gt;  

0 votes
Jo-Anne MacLeod Jun 13, 2011

The following thread (back to the forum) has a workaround for this issue:

Gena Cotter Jun 13, 2011
Thanks Jo-Anne, Unfortunately,I had tried this before and it does not seem to work with V4.2.1. I edited the files, deleted the work folder and restarted JIRA. But the manage filters page still looks the same.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

957 views 12 15
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