Feature #14717 ยป Spent_hours_API_Patch.diff
| app/views/issues/index.api.rsb (working copy) | ||
|---|---|---|
|
api.due_date issue.due_date
|
||
|
api.done_ratio issue.done_ratio
|
||
|
api.estimated_hours issue.estimated_hours
|
||
|
api.spent_hours issue.spent_hours
|
||
|
api.total_spent_hours issue.total_spent_hours
|
||
|
render_api_custom_values issue.visible_custom_field_values, api
|
||
| app/views/issues/show.api.rsb (working copy) | ||
|---|---|---|
|
api.done_ratio @issue.done_ratio
|
||
|
api.estimated_hours @issue.estimated_hours
|
||
|
api.spent_hours(@issue.spent_hours) if User.current.allowed_to?(:view_time_entries, @project)
|
||
|
api.total_spent_hours(@issue.total_spent_hours) if User.current.allowed_to?(:view_time_entries, @project)
|
||
|
render_api_custom_values @issue.visible_custom_field_values, api
|
||