Ensure Issuable respond to :total_time_spent before calling it
This backport a commit made in Monday's upstream merge (https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3470).
Edited by Rémy Coutable
This backport a commit made in Monday's upstream merge (https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3470).