Hi, I have working system, that controls bugzilla bug with python-bugzilla. Today I noticed, whilst querying bugs with their attachmnets, there is only 'id' value for attachment, and I cannot find other way to get detailed information about attachment (mainly obselete flag). Is there a way to check and ignore bug attachments marked as obselete ?
Thanks
-Martin
On 06/19/2017 05:02 AM, Martin Lacko wrote:
Hi, I have working system, that controls bugzilla bug with python-bugzilla. Today I noticed, whilst querying bugs with their attachmnets, there is only 'id' value for attachment, and I cannot find other way to get detailed information about attachment (mainly obselete flag). Is there a way to check and ignore bug attachments marked as obselete ?
You can grab full bug attachment data with the Bugzilla.get_attachments method. Full bug attachment data has a is_obsolete field you can check
- Cole
python-bugzilla@lists.fedorahosted.org