summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-10-28 16:25:03 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-10-28 16:25:03 +0100
commit4cd4a0fb1a5d66a6ea77b4653e76fae87bb0160f (patch)
tree49dc0adf6f6f8e65be801bb871875019077fb4f1 /Bugzilla/WebService
parent9c5c3b20f521097f106b37fa9fa1c67ecd50f167 (diff)
downloadbugzilla-4cd4a0fb1a5d66a6ea77b4653e76fae87bb0160f.tar.gz
bugzilla-4cd4a0fb1a5d66a6ea77b4653e76fae87bb0160f.tar.xz
Bug 928410 - Bug.get should return detail about cc list members similar to assigned_to, creator and qa_contact
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Bug.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index 8dfbe131e..1d084ee5c 100644
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -1087,6 +1087,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);
@@ -2048,6 +2049,11 @@ C<array> of C<int>s. The ids of bugs that are "blocked" by this bug.
C<array> of C<string>s. The login names of users on the CC list of this
bug.
+=item C<cc_detail>
+
+C<array> 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<classification>
C<string> The name of the current classification the bug is in.