Rest api no longer return estimated time ,hours spent for master tickets
Since we upgraded from 1.2.xx to 3.2.1 (this major update is the reason i cant provide version which broke this feature) I can no longer retrieve spent time and estimated time for master tickets this is what i get ->
the ticket itself of course have more than 0 in both fields
#2 Updated by Filip Endris over 1 year ago
Using rest api issues
Redmine version 3.2.1.stable.15362
Ruby version 2.1.9-p490 (2016-03-30) [x86_64-linux]
Rails version 188.8.131.52
Database adapter Mysql2
no plugin installed
Server version: 10.1.13-MariaDB MariaDB Server
- Category set to REST API
- Status changed from Needs feedback to Closed
- Resolution set to Duplicate
Fixed by #21757.
spent_hours for a parent issue are now the value of the issue itself on Redmine 3.1 and later, not the sum of the value of subtasks.
Now you can get the summed value with
total_spent_hours on Redmine 3.3.0 and later.