summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-06-07 10:24:17 +0000
committerSean McGivern <sean@gitlab.com>2019-06-07 10:24:17 +0000
commit3ef0c54966ec79de0a713e089b62b46c79e8a663 (patch)
tree4b3dc4893d8620991576a33d747ba23675c47aee /lib
parent2fc7c09cb7675db6d8319cce6f1aab857b37222f (diff)
parentb70d23c25a4bc54fda22135b0a76bae102cfd88b (diff)
downloadgitlab-ce-3ef0c54966ec79de0a713e089b62b46c79e8a663.tar.gz
Merge branch '51636-task-list-api-pderichs' into 'master'
Add task count and completed count to responses of Issue and MR See merge request gitlab-org/gitlab-ce!28859
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index b1b6e7bd7b9..f8b950cb55d 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -576,6 +576,8 @@ module API
expose :time_stats, using: 'API::Entities::IssuableTimeStats' do |issue|
issue
end
+
+ expose :task_completion_status
end
class Issue < IssueBasic
@@ -724,6 +726,8 @@ module API
end
expose :squash
+
+ expose :task_completion_status
end
class MergeRequest < MergeRequestBasic