HowTo disable auto filling reporter field when creating issues
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
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.