How to remove the 'Assign' button from issues
The information on this page relates to customizations in JIRA Applications. Consequently, Atlassian Support cannot guarantee the provision of any support for the steps described on this page as customizations are not covered under Atlassian Support Offerings. Please be aware that this material is provided for your information only and that you use it at your own risk.
Also, please be aware that customizations done by directly modifying files are not included in the upgrade process. These modifications will need to be reapplied manually on the upgraded instance.
Summary
Sometimes, the JIRA Administrators wish to add fields to the 'Assign' screen, and to achieve this they create a transition in their workflow that allows them to add different fields to the screen. However, this still leaves them with a 'Assign' option in the Operations menu. This knowledge base article describes how to remove the button from that menu, which is done by customising the system-issueoperations-plugin.xml
file.
Workaround
- Shutdown JIRA;
Open the
system-issueoperations-plugin.xml
inside the JIRA-INSTALL/atlassian-jira/WEB-INF/classes
folder;Create a backup copy of this file in case of any problems.
Comment the "Assign Issues" web item, as shown below:
<!-- <web-item key="assign-issue" name="Assign Issue Link" section="operations-top-level" i18n-name-key="webfragments.view.issue.opsbar.operations.top.assign" weight="5"> <label key="common.words.assign"/> <tooltip key="admin.issue.operations.plugin.assign.issue.name"/> <styleClass>issueaction-assign-issue</styleClass> <link linkId="assign-issue"> /secure/AssignIssue!default.jspa?id=$issueId </link> <condition class="com.atlassian.jira.plugin.webfragment.conditions.HasIssuePermissionCondition"> <param name="permission">assign</param> </condition> <condition class="com.atlassian.jira.plugin.webfragment.conditions.IsIssueEditableCondition"/> <condition class="com.atlassian.jira.plugin.webfragment.conditions.IsFieldHiddenCondition" invert="true"> <param name="field">assignee</param> </condition> </web-item> -->
Delete the contents of the JIRA-INSTALL
/
folder;work
- Restart JIRA.
Please note this was tested with JIRA 5.2 only, and it is possible this may not be applicable to all versions of JIRA.