Bug 832320
Summary: | Cannot get delta_ts or days_elapsed in query results | ||
---|---|---|---|
Product: | [Community] Bugzilla | Reporter: | Jason Tibbitts <j> |
Component: | WebService | Assignee: | Simon Green <sgreen> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.2 | CC: | ebaak, sgreen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-15 07:09:30 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jason Tibbitts
2012-06-15 07:00:16 UTC
(In reply to comment #0) > Using the old query interface, I can include 'changedate' in column_list and > I get the last ticket update time. Under the new interface, I assume I > should ask for delta_ts instead, except that if I include that in > column_list the returned rows do not include that column. I could get by > with days_elapsed, but that column has the same problem. As per the documentation at https://bugzilla.redhat.com/docs/en/html/api/Bugzilla/WebService/Bug.html#get , the field you want is last_change_time. -- simon That's great. I was going off the field list returned by: import bugzilla; bz = bugzilla.Bugzilla(url='https://bugzilla.redhat.com/xmlrpc.cgi'); bz._proxy.Bug.fields({'include_fields':['name', 'display_name']}) But I'm guessing that for some reason doesn't match reality. Certainly I can make use of (at least most of) the fields there in an advanced query; I just can't get them returned in the query results, and I'll freely admit I don't understand why. |