Closed Bug 1627891 Opened 5 years ago Closed 5 years ago

Can not find task(s) using REST API

Categories

(bugzilla.mozilla.org :: API, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: aliarshadciitswl, Unassigned)

Details

Attachments

(1 file)

Attached image Capture1.PNG

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36

Steps to reproduce:

  1. I used Bugzilla REST API to access the bug related to different products such as SeaMonkey, Firefox, Core and etc.
  2. https://bugzilla.mozilla.org/rest/bug?product=SeaMonkey&type=task&chfieldfrom=1997-09-10&chfieldto=2018-07-13&include_fields=summary,status,resolution,id,product,severity
    used this link to access the tasks for the SeaMonkey

Actual results:

  1. I could not get any task for the SeaMonkey, Core, Calendar and etc.
  2. I could get the defects and enhancement reports but not task(s)

Expected results:

  1. The tasks should also have appeared.

You simply missed the chfield param. Get the right result. There are only 4 bugs, but that’s fine, because the bug type was introduced last year in Bug 1522341 and most bugs are defect or enhancement. SeaMonkey only has 90 task type bugs in total.

Assignee: general → nobody
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Component: Bugzilla-General → API
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Resolution: --- → INVALID
Version: 5.2 → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: