Issues created by 'Anonymous' user in Jira
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
Summary
There are multiple issues with the reporter set as "Anonymous", however, Jira configuration does not allow anonymous access.
Solution
Case 1
Review the User Management to see if a user named 'Anonymous' has been created on LDAP or the Jira Internal Directory.
Solution for case 1
Deactivate the account 'Anonymous" following the instructions under the "Deactivating users" session in Create, edit, or remove a user documentation.
Case 2
The auto-filling reporter field was disabled to prevent Jira from pre-setting the reporter with the current user.
Review the article How To disable auto filling reporter field when creating issues and check if the Velocity template reporter-edit-frother.vm
is located under $JIRA_INSTALLATION_DIRECTORY/atlassian-jira/WEB-INF/classes/templates/jira/issue/field
is commented out. 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.
...
#** 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
*#
...
Case 3
(Working as expected)
The reporter field is not required by default, and users can leave it empty if they choose to, which leads to the appearance of the "?" Anonymous.
Solution fr case 2 and 3:
Change the field configuration to make it mandatory, following the documentation Making a field required or optional.
Was this helpful?