Closed Bug 1566798 Opened 6 years ago Closed 6 years ago

description field not found in get bug API

Categories

(Bugzilla :: WebService, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1531757

People

(Reporter: mohit.rawat2486, Unassigned)

Details

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

Steps to reproduce:

I post a bug with 'description' field and it successfully posted by using Create Bug API.

Actual results:

Posted Successfully and get bug Id.

Expected results:

I think description should also come in Get Bug API Right now it is absent in documentation as well as in response of Get Bug API.

Did you read the API document? The description field is not used in the API though it may be accepted when you file a bug. The correct field name is summary.

Assignee: general → webservice
Component: Bugzilla-General → WebService

https://bugzilla.readthedocs.io/en/5.0/api/core/v1/bug.html#get-bug but this doc mention description field after version(in bold text) parameter

Ah, sorry I missed that. You exactly mean description which is comment 0. It will be available in Bugzilla 6.0 (and is already available on this Mozilla’s Bugzilla which is Bugzilla 6.0 Beta) when you specify description in the include_fields param.

Example: https://bugzilla.mozilla.org/rest/bug/1566798?include_fields=id,summary,description

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE

okay thanks

You need to log in before you can comment on or make changes to this bug.