Given an issue or an attachment

get_attachment(issue, attachment, host)

Arguments

issue

Number of the issue.

attachment

A numeric ID of the attachment.

host

URL of the bugzilla instance if missing the R bugzilla is assumed.

Value

A data.frame with the information available.

Examples

get_attachment(issue = 1)
#>               summary is_private is_obsolete is_patch content_type
#> 1 test attachment ...      FALSE       FALSE    FALSE   text/plain
#>      last_change_time size file_name id flags       creation_time bug_id
#> 1 2010-02-16 17:43:29  134      ed.c  1    NA 2010-02-16 17:42:59      1
#>   creator
#> 1   admin
#>                                                                                                                                                                                   data
#> 1 I2luY2x1ZGUgPFJpbnRlcm5hbHMuaD4KClNFWFAgbXlFdmFsKFNFWFAgRk4sIFNFWFAgZmlyc3RfYXJnKSB7CiAgcmV0dXJuIGV2YWwoTENPTlMoRk4sIENPTlMoZmlyc3RfYXJnLCBSX05pbFZhbHVlKSksIFJfR2xvYmFsRW52KTsKfQo=
get_attachment(attachment = 1)
#>   content_type    last_change_time file_name size             summary
#> 1   text/plain 2010-02-16 17:43:29      ed.c  134 test attachment ...
#>   is_private is_patch is_obsolete creator
#> 1      FALSE    FALSE       FALSE   admin
#>                                                                                                                                                                                   data
#> 1 I2luY2x1ZGUgPFJpbnRlcm5hbHMuaD4KClNFWFAgbXlFdmFsKFNFWFAgRk4sIFNFWFAgZmlyc3RfYXJnKSB7CiAgcmV0dXJuIGV2YWwoTENPTlMoRk4sIENPTlMoZmlyc3RfYXJnLCBSX05pbFZhbHVlKSksIFJfR2xvYmFsRW52KTsKfQo=
#>         creation_time flags id bug_id
#> 1 2010-02-16 17:42:59    NA  1      1