]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1489120 - Add a rest API to get triage owners for each product/component pair...
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 4 Oct 2018 02:39:57 +0000 (22:39 -0400)
committerGitHub <noreply@github.com>
Thu, 4 Oct 2018 02:39:57 +0000 (22:39 -0400)
Bugzilla/WebService/Product.pm
docs/en/rst/api/core/v1/product.rst

index 6ca3fee9040b8e3c6dd139b4469a1be103236261..0b58c6e1c72d696d87cccddc2c184372c65969a8 100644 (file)
@@ -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
index 4819bbbbe93e8450154cbdbdbfca8390ab8438ba..a1f5bd3c892a4e4fa6c2a5090141ffc5ef9fc5c3 100644 (file)
@@ -142,6 +142,7 @@ type        string  The group of products to return. Valid values are
                ]
              },
              "default_qa_contact": "",
+             "triage_owner": "",
              "description": "This is a test component."
            }
          ],
@@ -215,6 +216,9 @@ default_assigned_to  string   The login name of the user to whom new bugs
 default_qa_contact   string   The login name of the user who will be set as
                               the QA Contact for new bugs by default. Empty
                               string if the QA contact is not defined.
+triage_owner         string   The login name of the user who is named as the
+                              Triage Owner of the component. Empty string if the
+                              Triage Owner is not defined.
 sort_key             int      Components, when displayed in a list, are sorted
                               first by this integer and then secondly by their
                               name.