Open
Bug 1294519
Opened 8 years ago
Updated 5 years ago
When an API field name is used inside of a boolean chart search it doesn't do internal name conversion properly
Categories
(bugzilla.mozilla.org :: API, defect)
Tracking
()
NEW
People
(Reporter: mhoye, Unassigned)
Details
Per an IRC conversation with dkl in #bmo: 16:14 < mhoye> What I'd like is "bug was last modified on this day", but my attempts to do this via the API are returning all the bugs in the component that meet my other criteria, but not filtering on last_change_time. 16:16 <@dkl> mhoye: let me see 16:18 < mhoye> Thank you 16:21 <@dkl> mhoye: use delta_ts instead: https://bugzilla.mozilla.org/rest/bug?include_fields=id,summary,status&component=Administration&f1=delta_ts&o1=greaterthan&product=bugzilla.mozilla.org&resolution=---&v1=2016-08-10 16:22 <@dkl> and file a bug. for some reason when an API field name is used such as last_change_time inside of a boolean chart search it doesnt do the name conversion properly to the internal name 16:22 < mhoye> Man, what a relief that is. It really was a relief I'm not used to problems in my code being anyone else's fault.
Comment 1•5 years ago
|
||
This kind of incompatibility might block the new search results page that retrieves results via API.
Assignee: nobody → kohei.yoshino
Blocks: 1529362
Updated•5 years ago
|
Status: NEW → ASSIGNED
Comment 2•5 years ago
|
||
Currently when I use the Advanced Search page, I get:
(not last_change_time
but delta_ts
) which is compatible with the REST API:
Using the last_change_time
field still leads to an error, but this won’t block Bug 1529362.
You need to log in
before you can comment on or make changes to this bug.
Description
•