Merge branch 'master' into 'master'

Add time tracking to issue board entities

Closes #27780

See merge request gitlab-org/gitlab-ce!26850
This commit is contained in:
James Lopez 2019-04-10 11:00:42 +00:00
commit 2238b12df9
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
class IssueBoardEntity < Grape::Entity
include RequestAwareEntity
include TimeTrackableEntity
expose :id
expose :iid

View File

@ -9,6 +9,9 @@
"project_id": { "type": "integer" },
"relative_position": { "type": ["integer", "null"] },
"time_estimate": { "type": "integer" },
"total_time_spent": { "type": "integer" },
"human_time_estimate": { "type": ["string", "null"] },
"human_total_time_spent": { "type": ["string", "null"] },
"weight": { "type": ["integer", "null"] },
"project": {
"type": "object",