Remove Share with Everyone Option on Filters

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

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>

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
Thanks Jobin, worked perfect!

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;  

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

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
Community showcase
Published Thursday in Summit

Find a your Summit 2019 Buddy!

Can you believe there's less than one month until Summit 2019? It's time to start planning your agendas, not to mention packing ... In the meantime, introduce yourselves on this thread so that you ...

232 views 15 6
Read article

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