Problem
When automatic mode is enabled and issue is state has been changed to "Closed" state work time is not logged.
Root Cause 1
Plugin (user Automated Log Work) needs following permissions set per project to work properly:
- Work on Issue
- Edit Issue
Use Permission Helper to check if appropriate permissions are set
Root Cause 2
"Closed" state property "jira.issue.editable" is set to "false"
This means that JIRA forbids to edit (also add "Work Log" ) for an issue in the state.
How to change this property
- Go To JIRA Administration->Issues->Workflows
- Click "Edit" button so edit selected workflow
- In Diagram view click (select) "Closed" state
- Click "Properties" link on dialog (right hand side of the window)
- Change property jira.issue.editable=true
References
https://confluence.atlassian.com/jira/allow-editing-of-closed-issues-138704.html