diff options
author | Sean McGivern <sean@gitlab.com> | 2019-06-07 10:24:17 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-06-07 10:24:17 +0000 |
commit | 3ef0c54966ec79de0a713e089b62b46c79e8a663 (patch) | |
tree | 4b3dc4893d8620991576a33d747ba23675c47aee /lib | |
parent | 2fc7c09cb7675db6d8319cce6f1aab857b37222f (diff) | |
parent | b70d23c25a4bc54fda22135b0a76bae102cfd88b (diff) | |
download | gitlab-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.rb | 4 |
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 |