$_->send_changes() foreach @bugs;
- my %attachments = map { $_->id => $self->_attachment_to_hash($_, $params) }
- @created;
+ my @created_ids = map { $_->id } @created;
- return { attachments => \%attachments };
+ return { ids => \@created_ids };
}
sub add_comment {
=head2 add_attachment
-B<UNSTABLE>
+B<STABLE>
=over
=item B<Returns>
-A single item C<attachments>, which contains the created
-attachments in the same format as the C<attachments> return
-value from L</attachments>.
+A single item C<ids>, which contains an array of the
+attachment id(s) created.
=item B<Errors>
=item The C<is_url> parameter was removed in Bugzilla B<4.2>.
+=item The return value has changed in Bugzilla B<4.4>.
+
=back
=back