summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-10-04 04:39:57 +0200
committerGitHub <noreply@github.com>2018-10-04 04:39:57 +0200
commite3fb2fbabb83a12117ca8db405dacd1781c028cd (patch)
tree3bcfcbf6f12bf8d1e2ed853da27a1c07a07b7775 /Bugzilla
parent52c4131f5ebd08d591b908b497ee66f808279ee5 (diff)
downloadbugzilla-e3fb2fbabb83a12117ca8db405dacd1781c028cd.tar.gz
bugzilla-e3fb2fbabb83a12117ca8db405dacd1781c028cd.tar.xz
Bug 1489120 - Add a rest API to get triage owners for each product/component pair (#797)
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/WebService/Product.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm
index 6ca3fee90..0b58c6e1c 100644
--- a/Bugzilla/WebService/Product.pm
+++ b/Bugzilla/WebService/Product.pm
@@ -215,6 +215,8 @@ sub _component_to_hash {
$self->type('email', $component->default_assignee->login),
default_qa_contact =>
$self->type('email', $component->default_qa_contact->login),
+ triage_owner =>
+ $self->type('email', $component->triage_owner->login),
sort_key => # sort_key is returned to match Bug.fields
0,
is_active =>
@@ -548,6 +550,11 @@ default.
C<string> The login name of the user who will be set as the QA Contact for
new bugs by default.
+=item C<triage_owner>
+
+C<string> The login name of the user who is named as the Triage Owner of the
+component.
+
=item C<sort_key>
C<int> Components, when displayed in a list, are sorted first by this integer