From cf864ae637d95e65971378edcf1a7e6081a56d33 Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Mon, 28 Oct 2013 14:15:56 +0000 Subject: [PATCH] Bug 928410 - Bug.get should return detail about cc list members similar to assigned_to, creator and qa_contact r=gerv,a=glob git-svn-id: svn://10.0.0.236/trunk@265081 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 9827fc18c3b..47fd799b544 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8787 \ No newline at end of file +8788 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm b/mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm index 0760503a6cc..b24b53dfb4d 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm @@ -1060,6 +1060,7 @@ sub _bug_to_hash { if (filter_wants $params, 'cc') { my @cc = map { $self->type('email', $_) } @{ $bug->cc }; $item{'cc'} = \@cc; + $item{'cc_detail'} = [ map { $self->_user_to_hash($_, $params, 'cc') } @{ $bug->cc_users } ]; } if (filter_wants $params, 'creator') { $item{'creator'} = $self->type('email', $bug->reporter->login); @@ -2036,6 +2037,11 @@ C of Cs. The ids of bugs that are "blocked" by this bug. C of Cs. The login names of users on the CC list of this bug. +=item C + +C of hashes containing detailed user information for each of the cc list +members. To see the keys included in the user detail hash, see below. + =item C C The name of the current classification the bug is in.