Unable to create issue due to anonymous sender and no default reporter
症状
Issues are not created when using Creating Issues and Comments from Email. The desired effect is to create issues anonymously. Logs contain:
2010-10-08 06:05:22,272 JiraQuartzScheduler_Worker-0 WARN ServiceRunner General Issue Comments POP Service [service.util.handler.CreateIssueHandler] Sender is anonymous, no default reporter specified and creating users is set to false (or external user managment is enabled). Message rejected.
原因
The Create or Comment Handler requires one of the following:
- A default user. This is the
reporterusername
parameter. - An existing user as the reporter.
- The parameter
createusers
set to true. If external user management is enabled, it must allow user creation.
ソリューション
Choose one of the above options.
Typically, for creating anonymous issues, a good way to solve this is to specify a user named "Anonymous User" and set the reporterusername
to that user. See Creating Issues and Comments from Email for instructions on that. The "Anonymous User" will need access to create issues, but not necessarily browse, from the Permission Scheme. Under this configuration, anonymous users could create issues but not necessarily track them very easily, which is a limitation based on licensing. If you're using external user management, users must be able to be created.