diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-10-28 10:03:03 -0400 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-10-28 10:03:03 -0400 |
commit | 22807cf1b233f210b91f54a57e854cabde776cfe (patch) | |
tree | c93a1a1c9fbbd609d4dac7714b098aeb6f3d6d55 /Bugzilla/WebService | |
parent | 8093231e36007fcc5b9157ecaacd650b921bec59 (diff) | |
download | bugs-22807cf1b233f210b91f54a57e854cabde776cfe.tar bugs-22807cf1b233f210b91f54a57e854cabde776cfe.tar.gz bugs-22807cf1b233f210b91f54a57e854cabde776cfe.tar.bz2 bugs-22807cf1b233f210b91f54a57e854cabde776cfe.tar.xz bugs-22807cf1b233f210b91f54a57e854cabde776cfe.zip |
Bug 928410 - Bug.get should return detail about cc list members similar to assigned_to, creator and qa_contact
r=gerv,a=glob
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 0760503a6..b24b53dfb 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/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<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. |