Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925
edits
Line 52: | Line 52: | ||
'''Arguments''' | '''Arguments''' | ||
[[Bugzilla:REST_API:Objects#Bug|Bug]], or part thereof, as POST body. The following fields are always compulsory: '''product''', '''component''', '''summary''' and '''version'''. The following fields may be compulsory depending on the configuration of your Bugzilla: ''' | [[Bugzilla:REST_API:Objects#Bug|Bug]], or part thereof, as POST body. The following fields are always compulsory: '''product''', '''component''', '''summary''' and '''version'''. The following fields may be compulsory depending on the configuration of your Bugzilla: '''comments''' (single entry, as initial description), '''op_sys''', '''platform''', '''priority''' and '''severity'''. | ||
'''Response''' | '''Response''' | ||
Line 62: | Line 62: | ||
'''Notes''' | '''Notes''' | ||
* The initial description is added using a [[Bugzilla:REST_API:Objects#Comment|comment object]] attached to the bug as the first item in the "comments" array. All that is required is the "text" member. | |||
* You can't add attachments with a new bug. Any attachment fields in the bug object will be ignored. Make a separate call. | * You can't add attachments with a new bug. Any attachment fields in the bug object will be ignored. Make a separate call. | ||