Remove the possibility to share filter with everyone ?

Sebastien Falardeau September 13, 2012

Hi,

Since we are now including external users to our JIRA/Confluence environment, we'd like to keep everything as private as possible. We have told our internal users to not use the option to display their filters to everyone but we'd like to know if it was possible to simply remove that option from the dropdown list ?

Thank you

1 answer

1 accepted

1 vote
Answer accepted
Matheus Fernandes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2012

In JIRA 5.1, this is possible to achieve by modifying the edit-share-types.jsp file, inside the JIRA-INSTALL/atlassian-jira/template/aui folder. You'll need to edit the file and modify from line 22-26, from:

<select id="share_type_selector">
                        <ww:iterator value=".">
                            <option value="<ww:property value="./shareType"/>"><ww:property value="./shareTypeLabel"/></option>
                        </ww:iterator>
                    </select>

To:

<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>

Then, shutdown JIRA, delete the contents of the JIRA-INSTALL/work folder and restart JIRA (The contents of the work directory will be recreated during the restart).


Matheus Fernandes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2012

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events