The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
TAGS
AUG Leaders

Atlassian Community Events