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

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>
</ww:if>
</ww:iterator>
</select>

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
/atlassian-jira/template/aui/edit-share-types.jsp
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;  
            &lt;option  
                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:if&gt;  
    &lt;/ww:iterator&gt;  
&lt;/select&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;  
            &lt;/ww:if&gt;  
        &lt;/ww:if&gt;  
    &lt;/span&gt;  
&lt;/ww:iterator&gt;

The following thread (back to the forum) has a workaround for this issue: http://forums.atlassian.com/thread.jspa?messageID=257359151&#257359151

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
Posted in Jira

We want to hear from you! How do you use Slack and Atlassian together?

Hi Everyone! My name is Mina and I am on Atlassian’s Ecosystems Marketing team. Our team is focused on our technology partnerships and marketplace apps. One of Atlassian’s partners is Slack, who ...

85 views 1 5
Join discussion

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