How to Disable Inline Edit for Assignee Field

Still need help?

The Atlassian Community is here for you.

Ask the community

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 6.2.x 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 removeCTE = setInterval(function() {
    var editableElms = AJS.$('#assignee-val')
    if (editableElms.length)	{ 	
    	editableElms.removeClass('inactive'); 
    	editableElms.removeClass('editable-field'); 
    	editableElms.removeAttr('title'); 
    	editableElms.find('span.overlay-icon').hide(); 
    }},500);
    </script>

    (info) Tested working on JIRA 6.2.6

Last modified on Sep 29, 2015

Was this helpful?

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