Bugzilla:BzAPI: Difference between revisions

Jump to navigation Jump to search
Line 143: Line 143:
* This call does not support the updating of attachment metadata. Make a separate call to update attachments.
* This call does not support the updating of attachment metadata. Make a separate call to update attachments.
* Set assigned_to or qa_contact to the special value <tt>null</tt> (in JSON) to reset them to the default for the current component.
* Set assigned_to or qa_contact to the special value <tt>null</tt> (in JSON) to reset them to the default for the current component.
* To make this call check for conflicts, submit the last_change_time you received when getting the bug data. To make unconditional updates (be careful!) simply do not supply a last_change_time.
* You can update most fields singly, but some fields are coupled, and must be provided as a set (even if one has not changed), as follows:
* You can update most fields singly, but some fields are coupled, and must be provided as a set (even if one has not changed), as follows:
** 'status' and 'resolution'
** 'status' and 'resolution'
Line 151: Line 152:
'''Errors'''
'''Errors'''


* This call always checks for conflicts and returns an error if there is one.
* This call will return a "Mid-air collision" error if you submit a last_change_time earlier than the one Bugzilla has on record.


=== List comments for bug (/bug/<id>/comment GET) ===
=== List comments for bug (/bug/<id>/comment GET) ===
Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925

edits

Navigation menu