Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-7889

Custom flag in JIRA administration as to whether the assignee field is a drop down or a user picker

    • 2
    • 0
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      To help cater to smaller teams as well as larger teams it would be useful if we added an administration capability to select either a drop down list or a user picker for the assignee field.

          Form Name

            [JRASERVER-7889] Custom flag in JIRA administration as to whether the assignee field is a drop down or a user picker

            Aakrity Tibrewal added a comment -
            Atlassian Update - 24 March 2025

            Hello,

            Thank you for submitting this suggestion. We appreciate you taking the time to share your ideas for improving our products, as many features and functions come from valued customers such as yourself.

            Atlassian is committed to enhancing the security and compliance of our Data Center products, with an emphasis on sustainable scalability and improving the product experience for both administrators and end-users. We periodically review older suggestions to ensure we're focusing on the most relevant feedback. This suggestion is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments. This inactivity suggests a low impact. Therefore, this suggestion is not in consideration for our future roadmap.

            Please note the comments on this thread are not being monitored.

            You can read more about our approach to highly voted suggestions here and how we prioritize what to implement here.

            To learn more about our recent investments in Jira Data Center, please check our public roadmap and our dashboards, which contain recently resolved issues, current work, and future plans.

            Kind regards,
            Jira Data Center

            Aakrity Tibrewal added a comment - Atlassian Update - 24 March 2025 Hello, Thank you for submitting this suggestion. We appreciate you taking the time to share your ideas for improving our products, as many features and functions come from valued customers such as yourself. Atlassian is committed to enhancing the security and compliance of our Data Center products, with an emphasis on sustainable scalability and improving the product experience for both administrators and end-users. We periodically review older suggestions to ensure we're focusing on the most relevant feedback. This suggestion is being closed due to a lack of engagement in the last four years , including no new watchers, votes, or comments. This inactivity suggests a low impact. Therefore, this suggestion is not in consideration for our future roadmap. Please note the comments on this thread are not being monitored. You can read more about our approach to highly voted suggestions here and how we prioritize what to implement here. To learn more about our recent investments in Jira Data Center, please check our public roadmap and our dashboards, which contain recently resolved issues , current work, and future plans. Kind regards, Jira Data Center

            PaulC added a comment -

            Hi, I believe the issue is not resolved yet because there still needs to be an "option" for the administrator to be able to choose between the original Full Assignee listing, or the one where you have to start typing before you can select anything.

            Ideally this choice should also be allowed to be made on a Field by Field basis.

            There are lots of projects with control over who appears as an assignable user, (or those with simply smaller teams) and in those cases it is not very efficient at all to have to start typing something just when the user list is small.

            There are also projects that are set up to use all users and in those cases it can make sense to start typing to search.

            But, it all depends on the users using the system - and i would really like for us to have the choice regarding how to present this field, natively via the front end administration, than to lose an "existing feature" which worked well for lots of users.

            New features should be Added to jira, as options for those who wish to use them, 'not' as total replacements. That is my humble opinion anyway, formed over several years as a user, as an admin, and when interacting and discussing with several hundred users.

            PaulC added a comment - Hi, I believe the issue is not resolved yet because there still needs to be an "option" for the administrator to be able to choose between the original Full Assignee listing, or the one where you have to start typing before you can select anything. Ideally this choice should also be allowed to be made on a Field by Field basis. There are lots of projects with control over who appears as an assignable user, (or those with simply smaller teams) and in those cases it is not very efficient at all to have to start typing something just when the user list is small. There are also projects that are set up to use all users and in those cases it can make sense to start typing to search. But, it all depends on the users using the system - and i would really like for us to have the choice regarding how to present this field, natively via the front end administration, than to lose an "existing feature" which worked well for lots of users. New features should be Added to jira, as options for those who wish to use them, 'not' as total replacements. That is my humble opinion anyway, formed over several years as a user, as an admin, and when interacting and discussing with several hundred users.

            This appears to have been resolved in JIRA 5.0, with the new Ajax interface for the Assignee field. Is there any reason that this issue hasn't been Resolved?

            Kavian Moradhassel added a comment - This appears to have been resolved in JIRA 5.0, with the new Ajax interface for the Assignee field. Is there any reason that this issue hasn't been Resolved?

            Currently we have a few JIRA projects with 500+ users. A drop down list makes the interface slower, and is really really bad for useability.

            Brian Mills added a comment - Currently we have a few JIRA projects with 500+ users. A drop down list makes the interface slower, and is really really bad for useability.

            Jon Sword added a comment -

            We are preparing to deploy a large JIRA instance and could have thousands of users listed in the assignee drop down. This causes performance issues when loading the page and is not very user friendly. The alternative is we segregate users into hundreds of project groupings - which produces a group management issue and inhibits productivity. The solutions suggested above are not an acceptable workaround as it needs to be re-invented every time Atlassian changes something behind the scenes.

            Please make this issue a priority.

            Jon Sword added a comment - We are preparing to deploy a large JIRA instance and could have thousands of users listed in the assignee drop down. This causes performance issues when loading the page and is not very user friendly. The alternative is we segregate users into hundreds of project groupings - which produces a group management issue and inhibits productivity. The solutions suggested above are not an acceptable workaround as it needs to be re-invented every time Atlassian changes something behind the scenes. Please make this issue a priority.

            Carl-Johan Wik, Which is the version of JIRA you are working on?

            Jordan Koppole added a comment - Carl-Johan Wik, Which is the version of JIRA you are working on?

            cjwik added a comment -

            This is also staring to be an issue for us. Please review this asp if possible.

            cjwik added a comment - This is also staring to be an issue for us. Please review this asp if possible.

            This would be quite an important addition for our deployment of JIRA. We're currently in user trials and the feedback we're getting on the Assignee field is not good. We have a large number of assignable users in our projects, and the drop-down list is extremely non-user-friendly.

            Kavian Moradhassel added a comment - This would be quite an important addition for our deployment of JIRA. We're currently in user trials and the feedback we're getting on the Assignee field is not good. We have a large number of assignable users in our projects, and the drop-down list is extremely non-user-friendly.

            Hello Guys,

            For JIRA 4.0 I got a this working by tweaking the following 3 files.

            atlassian-jira/WEB-INF/classes/templates/jira/issue/field/assignee-edit.vm
            atlassian-jira/includes/panels/issue/assignee.jsp
            atlassian-jira/secure/views/createissue-details.jsp

            The file atlassian-jira/WEB-INF/classes/templates/jira/issue/field/assignee-edit.vm holds the control that is to be displayed where assignee is editable. This file requires a complete change. Following is the assignee-edit.vm I have used.

            #controlHeader ($action $field.id $i18n.getText($field.nameKey) $fieldLayoutItem.required $displayParameters.get('noHeader'))
            
            <div class="ajax_autocomplete" id="${field.id}_container">
                <input type="text" name="$field.id" id="$field.id" value="$textutils.htmlEncode($!assignee)" style="width: 30%;">
                <fieldset rel="$field.id" class="hidden user-picker-params">
                    <input type="hidden" id="fieldName" value="$field.id">
                    <input type="hidden" id="multiSelect" value="false">
                    <input type="hidden" id="userPickerEnabled" value="true">
                </fieldset>
                <a class="popup-trigger" href="#"><img title="$i18n.getText('user.picker.select.user')" name="reporterImage" src="${req.getContextPath()}/images/icons/filter_public.gif" hspace=0 height=16 width=16 border=0 align=absmiddle alt="" /></a>
            <div id="${field.id}_results" class="ajax_results"></div><font size="1">${i18n.getText('user.picker.ajax.desc')}</font>
            </div>
            #controlFooter ($action $fieldLayoutItem.getFieldDescription() $displayParameters.get('noHeader'))
            

            In the file atlassian-jira/includes/panels/issue/assignee.jsp you need to include the autocomplete js and css that is used and also the script for the popup to select it using the userselect control. The modified assignee.jsp is as follows

            <%@ taglib uri="webwork" prefix="webwork" %>
            <%@ taglib uri="webwork" prefix="ui" %>
            <%@ taglib uri="sitemesh-page" prefix="page" %>
            <%@ page import="com.atlassian.jira.ComponentManager"%>
            <%@ page import="com.atlassian.plugin.webresource.WebResourceManager" %>
              <%
                    WebResourceManager webResourceManager = ComponentManager.getInstance().getWebResourceManager();
                    webResourceManager.requireResource("jira.webresources:autocomplete");
                %>
            
            
            <%-- This include puts the assignee FieldConfiguration on
            the stack as it is needed there --%>
            <webwork:property value="/field('assignee')">
            	<webwork:if test="/hasProjectPermission('assignissues', /project) == true">
            		<script language="javascript">
            			function openWindow(element){ var vWinUsers = window.open('<%=request.getContextPath()%>/secure/popups/UserPickerBrowser.jspa?formName=jiraform&element=' +	element, 'UserPicker','status=yes,resizable=yes,top=100,left=200,width=580,height=750,scrollbars=yes');
            			vWinUsers.opener = self; vWinUsers.focus(); };
            			}
            </script>
            
            		<ui:component label="text(./nameKey)" name="id"	template="userselect.jsp">
            			<ui:param name="'formname'" value="'jiraform'" />
            			<ui:param name="'imagename'" value="'reporterImage'" />
            			<ui:param name="'imagesrc'"><%=request.getContextPath()%>/images/icons/filter_public.gif</ui:param>
            			<ui:param name="'imagefunction'">openWindow('assignee')</ui:param>
            			<ui:param name="'style'">width: 30%;</ui:param>
            			<ui:param name="'description'">
            				<webwork:property value="fieldDescription" escape="false" />
            			</ui:param>
            		</ui:component>
            	</webwork:if>
            </webwork:property>
            

            In the file atlassian-jira/secure/views/createissue-details.jsp need to include the javascripts. just add the following lines to the existing file

            <%@ taglib uri="sitemesh-page" prefix="page" %>
            <%@ page import="com.atlassian.jira.ComponentManager"%>
            <%@ page import="com.atlassian.plugin.webresource.WebResourceManager" %>
            

            and before the </head> tag

            <%
                    WebResourceManager webResourceManager = ComponentManager.getInstance().getWebResourceManager();
                    webResourceManager.requireResource("jira.webresources:autocomplete");
                %>
            

            And now reboot your sever

            If some one is using this solution please let me know if missed including javascript in some files. I understand that which ever pages that this control is used the javascript needs to be included.

            Also let me know if I am missing something here.

            Jordan Koppole added a comment - Hello Guys, For JIRA 4.0 I got a this working by tweaking the following 3 files. atlassian-jira/WEB-INF/classes/templates/jira/issue/field/assignee-edit.vm atlassian-jira/includes/panels/issue/assignee.jsp atlassian-jira/secure/views/createissue-details.jsp The file atlassian-jira/WEB-INF/classes/templates/jira/issue/field/assignee-edit.vm holds the control that is to be displayed where assignee is editable. This file requires a complete change. Following is the assignee-edit.vm I have used. #controlHeader ($action $field.id $i18n.getText($field.nameKey) $fieldLayoutItem.required $displayParameters.get( 'noHeader' )) <div class= "ajax_autocomplete" id= "${field.id}_container" > <input type= "text" name= "$field.id" id= "$field.id" value= "$textutils.htmlEncode($!assignee)" style= "width: 30%;" > <fieldset rel= "$field.id" class= "hidden user-picker-params" > <input type= "hidden" id= "fieldName" value= "$field.id" > <input type= "hidden" id= "multiSelect" value= " false " > <input type= "hidden" id= "userPickerEnabled" value= " true " > </fieldset> <a class= "popup-trigger" href= "#" ><img title= "$i18n.getText( 'user.picker.select.user' )" name= "reporterImage" src= "${req.getContextPath()}/images/icons/filter_public.gif" hspace=0 height=16 width=16 border=0 align=absmiddle alt="" /></a> <div id= "${field.id}_results" class= "ajax_results" ></div><font size= "1" >${i18n.getText( 'user.picker.ajax.desc' )}</font> </div> #controlFooter ($action $fieldLayoutItem.getFieldDescription() $displayParameters.get( 'noHeader' )) In the file atlassian-jira/includes/panels/issue/assignee.jsp you need to include the autocomplete js and css that is used and also the script for the popup to select it using the userselect control. The modified assignee.jsp is as follows <%@ taglib uri= "webwork" prefix= "webwork" %> <%@ taglib uri= "webwork" prefix= "ui" %> <%@ taglib uri= "sitemesh-page" prefix= "page" %> <%@ page import = "com.atlassian.jira.ComponentManager" %> <%@ page import = "com.atlassian.plugin.webresource.WebResourceManager" %> <% WebResourceManager webResourceManager = ComponentManager.getInstance().getWebResourceManager(); webResourceManager.requireResource( "jira.webresources:autocomplete" ); %> <%-- This include puts the assignee FieldConfiguration on the stack as it is needed there --%> <webwork:property value= "/field( 'assignee' )" > <webwork: if test= "/hasProjectPermission( 'assignissues' , /project) == true " > <script language= "javascript" > function openWindow(element){ var vWinUsers = window.open( '<%=request.getContextPath()%>/secure/popups/UserPickerBrowser.jspa?formName=jiraform&element=' + element, 'UserPicker' , 'status=yes,resizable=yes,top=100,left=200,width=580,height=750,scrollbars=yes' ); vWinUsers.opener = self; vWinUsers.focus(); }; } </script> <ui:component label= "text(./nameKey)" name= "id" template= "userselect.jsp" > <ui:param name= " 'formname' " value= " 'jiraform' " /> <ui:param name= " 'imagename' " value= " 'reporterImage' " /> <ui:param name= " 'imagesrc' " ><%=request.getContextPath()%>/images/icons/filter_public.gif</ui:param> <ui:param name= " 'imagefunction' " >openWindow( 'assignee' )</ui:param> <ui:param name= " 'style' " >width: 30%;</ui:param> <ui:param name= " 'description' " > <webwork:property value= "fieldDescription" escape= " false " /> </ui:param> </ui:component> </webwork: if > </webwork:property> In the file atlassian-jira/secure/views/createissue-details.jsp need to include the javascripts. just add the following lines to the existing file <%@ taglib uri= "sitemesh-page" prefix= "page" %> <%@ page import = "com.atlassian.jira.ComponentManager" %> <%@ page import = "com.atlassian.plugin.webresource.WebResourceManager" %> and before the </head> tag <% WebResourceManager webResourceManager = ComponentManager.getInstance().getWebResourceManager(); webResourceManager.requireResource( "jira.webresources:autocomplete" ); %> And now reboot your sever If some one is using this solution please let me know if missed including javascript in some files. I understand that which ever pages that this control is used the javascript needs to be included. Also let me know if I am missing something here.

            Jordan Dea-Mattson,

            The above solution didn't work for me. Can you please point me what needs to be done. From your forum post I got that you have already solved this.

            Regards
            Jordan

            Jordan Koppole added a comment - Jordan Dea-Mattson, The above solution didn't work for me. Can you please point me what needs to be done. From your forum post I got that you have already solved this. Regards Jordan

              Unassigned Unassigned
              ben@atlassian.com BenjaminA
              Votes:
              29 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: