I have some metrics that I'll need to report on weekly and rather then counting on individuals to manually log work into each task I'd like for this to be automated.
I've created a rule as follows
- Trigger: Transition to DONE from four other status
- Action: Log Work
- Time Spent Field = {{now.diff(issue.created).hours}}
- Date Started Field = {{issue.created}}
The rule thinks it has worked (mostly) but does not actually log any work in the task.

