Unable to Add Comments From Comment Handler Due to Invalid Permissions
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
Symptoms
Comments are not added to issues after using the Comment Handler service. Logs contain errors like:
JiraQuartzScheduler_Worker-1 WARN ServiceRunner Comment Services [service.util.handler.AbstractCommentHandler] JIRA SE ADMIN does not have permission to comment on an issue in project: 10030
Cause
The comments are not added due to limited permissions.
Resolution
Find the project for which this user does not have permission, by running an SQL query:
SELECT * FROM project where ID = '<enter ID from WARN message>'
This should give you the project name.
In the upper-right corner of the screen, select Administration > Projects.
- Select a desired project.
- In the Project settings, go to Project Permissions
- Ensure that the user is in the appropriate group or role for the "Add Comment" permission.