HowTo disable auto filling reporter field when creating issues

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.

Purpose

Sometime users do not want JIRA to pre set the reporter field with the current user in order to force agent to set manually the reporter to another user when creating issues.

As this document includes customizations to JIRA, Atlassian does not support this procedure and publishes this information for reference only.

Solution

  • Stop JIRA
  • Navigate to $JIRA_INSTALLATION_DIRECOTRY/atlassian-jira/WEB-INF/classes/templates/jira/issue/field

  • Modify the reporter-edit-frother.vm file by commenting out following lines:

    ...
    #** Comment out the lines which pre fill the reporter
            #if ($reporterDisplayName)
    
                #set ($username = $textutils.htmlEncode($reporter))
                #set ($displayName = $textutils.htmlEncode($reporterDisplayName))
    
                <option selected="selected"
                        class="current-user"
                        data-field-text="$displayName"
                        data-icon="$reporterAvatarUrl"
                        value="$username">$displayName</option>
    
            #end
    *#
    ...
  • Restart JIRA

Please note that it will remove the already filled reporter when editing issues. Meaning if you edit an issue to change some field, it will reset the Reporter field to Anonymous if you don't fill the Reporter field again.
It should be used only in very specific use cases.

Last modified on Dec 2, 2022

Was this helpful?

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