How to Disable Inline Edit for Assignee Field

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

There are users who prefer to have only 'Issue Assigned' event enabled or to have filter notifications mail on 'Issue Assigned' notification. However, because of  JRA-29328 - Getting issue details... STATUS  some users may have missed the notifications when the action was done through either In-line editing or Edit Issue screen. Mostly the concerns are with In-line editing.

Conversely, sometimes the ability to inline edit the Assignee field might be disabled, and the user is not able to see the user dropdown for the Assignee field. This becomes an issue when they run the Permission Helper, and the Helper states that they do have permissions to edit the Assignee. If that is the case, simply reverse the instructions for removing the Assignee Field to re-enable the ability to inline edit the Assignee field if needed.


Remove Assignee Field from Edit Screen

By default, Assignee field is included in the Default Screen and act as 'Create Issue' screen and 'Edit Issue' screen. The following are the steps to remove Assignee field from Default Screen based on JIRA 8.13.x and onward UI.

  1. Go to Administration > Issues > Screens 
  2. Click on Configure link at 'Default Screen'
  3. Find 'Assignee' field and click on Remove button
    (info) The Remove button will show when hovering mouse pointer on the field name


Disable Inline Edit using Javascript

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.

This steps will disable only In-line editing on the Issue View page, with the 'Assignee' field still showing and editable in 'Edit Issue' screen.

  1. Go to Administration > Issues > Field Configurations 
  2. Click on Configure link at 'Default Field Configuration'
  3. Click on Edit link at 'Assignee'
  4. In the Description field, add the following

    <script type="text/javascript"> 
    var editableElms = AJS.$('#assignee-val')
    if (editableElms.length)	{ 	
    	editableElms.removeClass('inactive'); 
    	editableElms.removeClass('editable-field'); 
    	editableElms.removeAttr('title'); 
    	editableElms.find('span.overlay-icon').hide(); 
    }
    </script>
  5. Go to Administration > System > General configuration > Edit settings

  6. Check for Enable HTML in field descriptions and list item values
  7. If its set to OFF, turn it ON
    (info) Tested working on JIRA 8.13.10 and 9.2.0
Last modified on Nov 28, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.