Bugzilla:BzAPI:Objects: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 13: Line 13:
{| border="1"
{| border="1"
!Name!!Type!!Description!!Other Names
!Name!!Type!!Description!!Other Names
|-
|actual_time||Decimal||Time it has taken to fix the bug so far||
|-
|-
|alias||String||Bug's alias (text alternative to number)||
|alias||String||Bug's alias (text alternative to number)||
Line 18: Line 20:
|assigned_to||User||User responsible for the bug||
|assigned_to||User||User responsible for the bug||
|-
|-
|attachment||Array of Attachment||Related files||
|attachment||Array of Attachment||Related files stored by Bugzilla||
|-
|-
|blocked XXXX_blocks?||Array of Integer||IDs of bugs which can only be fixed after this one XXX_refs?||
|blocks||Array of Integer||IDs of bugs which can only be fixed after this one||
|-
|-
|cc||Array of String XXX_User||Email addresses of CCed users||
|cc||Array of User||Users signed up to be notified of changes||
|-
|-
|cclist_accessible XXX_cc_accessible?||Boolean||Whether CC list can see bug, regardless of groups||
|cc_accessible||Boolean||Whether CC list can see bug, regardless of groups||
|-
|-
|classification||String||Name of classification (categorization above product)||
|classification||String||Name of classification (categorization above product)||
|-
|classification_id||Integer, Read Only||ID of classification (categorization above product) XXX_why_this_and_not_prod_or_comp?||
|-
|-
|comment||Array of Comment||Things people have said about the bug||long_desc
|comment||Array of Comment||Things people have said about the bug||long_desc
Line 36: Line 36:
|creation_time||Timestamp String, Read Only||When bug was filed||creation_ts, opendate
|creation_time||Timestamp String, Read Only||When bug was filed||creation_ts, opendate
|-
|-
|dependson XXX_underscore?||Array of Integer||Bugs that must be fixed first XXX_refs?||
|deadline||Datestamp String||Date by which bug must be fixed||
|-
|-
|everconfirmed XXX_underscore?||Boolean, Read Only||Whether bug has ever passed from UNCONFIRMED to CONFIRMED status||
|depends_on||Array of Integer||Bugs that must be fixed first||
|-
|-
|flag||Hash of Flag; Key Integer (flag ID)||Flags set on this bug (note: not all possible flags)||
|estimated_time||Decimal||Total estimated time for fix, in hours||
|-
|ever_confirmed||Boolean, Read Only||Whether bug has ever passed from UNCONFIRMED to CONFIRMED status||
|-
|flag||Array of Flag||Flags set on this bug (XXXnote: not all possible flags)||
|-
|-
|history||Array of ChangeSet||Changes made to bug fields in the past||
|history||Array of ChangeSet||Changes made to bug fields in the past||
Line 61: Line 65:
|-
|-
|ref||String, Read Only||URL of bug in API||
|ref||String, Read Only||URL of bug in API||
|-
|remaining_time||Decimal, Read Only||Hours left before fix will be done||
|-
|-
|reporter||User, Read Only||User who submitted the bug||
|reporter||User, Read Only||User who submitted the bug||
Line 75: Line 81:
|-
|-
|target_milestone||String||When the bug is going to be fixed||
|target_milestone||String||When the bug is going to be fixed||
|-
|token||String, Read Only||Token you'll need to submit to change the bug||
|-
|-
|url||String||URL relating to the bug||bug_file_loc
|url||String||URL relating to the bug||bug_file_loc
Line 88: Line 96:


* Field values are configurable, so examples may not apply to your Bugzilla.
* Field values are configurable, so examples may not apply to your Bugzilla.
* Set assigned_to or qa_contact to the special value <tt>undef</tt> to reset them to the default for the current component. XXX_unimplemented
* 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.


==Comment==
==Comment==
Line 132: Line 140:
|-
|-
|bug_ref||String, Read Only||URL of associated bug in API XXX_unimplemented||
|bug_ref||String, Read Only||URL of associated bug in API XXX_unimplemented||
|-
|creation_time||Timestamp String, Read Only||When attachment was submitted||
|-
|-
|data||AttachmentData, No Mod||File data||
|data||AttachmentData, No Mod||File data||
Line 138: Line 148:
|-
|-
|filename||String||Path-less filename of attachment||
|filename||String||Path-less filename of attachment||
|-
|flag||Array of Flag||Flags set on this attachment (XXXnote: not all possible flags)||
|-
|-
|id||Integer, Read Only||Unique reference for attachment||attach_id
|id||Integer, Read Only||Unique reference for attachment||attach_id
Line 150: Line 162:
|-
|-
|size||Integer||Size of attachment, in bytes||
|size||Integer||Size of attachment, in bytes||
|-
|token||String||Token to submit to change attachment metadata||
|-
|-
|type||String||MIME type of attachment||
|type||String||MIME type of attachment||
|-
|when||Timestamp String, Read Only||When attachment was submitted||
|}
|}


Line 161: Line 173:
!Name!!Type!!Description!!Other Names
!Name!!Type!!Description!!Other Names
|-
|-
|encoding||String, Read Only||Encoding of 'content'; 'base64' is only supported value||
|encoding||String, No Mod||Encoding of 'content'; 'base64' is only supported value||
|-
|-
|content||String, Read Only||Attachment data encoded using named method||
|content||String, No Mod||Attachment data encoded using named method||
|}
|}


Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925

edits

Navigation menu