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.
Community moderators have prevented the ability to post new answers.
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>
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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):
<select class="select medium-field" id="share_type_selector"> <ww:iterator value="."> <ww:if test="./shareType != 'global'"> <option value="<ww:property value="./shareType"/>" <ww:if test="./shareType == 'project'">selected</ww:if> ><ww:property value="./shareTypeLabel"/></option> </ww:if> </ww:iterator> </select> <ww:iterator value="." status="'typeStatus'"> <span id="share_<ww:property value="./shareType"/>" <ww:if test="@typeStatus/first == false">style="display:none"</ww:if>> <ww:property value="./shareTypeEditor" escape="false"/> <ww:if test="./addButtonNeeded == true"> <ww:if test="./shareType != 'global'"> <span class="addShare" id="share_add_<ww:property value="./shareType"/>"><span class="icon jira-icon-add"></span>&nbsp;<ww:text name="'common.sharing.add.share'"/></span> </ww:if> </ww:if> </span> </ww:iterator>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The following thread (back to the forum) has a workaround for this issue: http://forums.atlassian.com/thread.jspa?messageID=257359151�
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.