Community
Participate
Working Groups
Bugzilla 3.0 supports adding attachments at the same time as new bug submission. The Bugzilla Connector should ideally support this. Note that current attachment support is based on streaming contents of file to existing bug report but may be able to simply perform submit after new bug post.
JIRA support this too. But even for connectors that don't have such support it should be possible to simulate this by running several actions under the hood (i.e. allow user to add multiple attachments and submit them all in one shot). This is somehow in line with the making task editor a real editor that don't rely on the "submit to server" action (there is a separate bug for that).
What do you think about the following way. actually if you look at the HTML of attachment.cgi and enter_bug.cgi you will see that the same part is included for set the form fields. So what about to factor this out in an extra method that we call from postAttachment and postTaskData. But what is the corret UI to set the needet fields. Actually for add Attachments we use the NewAttachmentWizard but in Bugzilla during Generation only a new Groupbox get insert. So it is OK to use the NewAttachmentWizard for the Attachment creation in new Bug mode.
Created attachment 83005 [details] mylyn/context/zip
If it was up to me, I'd have attachment table with "Add..." button then open a dialog similar to attachment wizard but with no "comment" area. So, user could add/remove attachments ant then submit them all at once.
Rob: please review.
Mik, there is no patch yet, just the task context. But this issue is requesting input on how it should be implemented.
Frank, lets hold off on this functionality until 2.3 since this will require significant api and editor changes. These will need to be coordinated with: 179254: [api] AbstractRepositoryTaskEditor needs to be decomposed https://bugs.eclipse.org/bugs/show_bug.cgi?id=179254 P.S. Reassigning to me since our standard policy is usually to assign to the contributor once patches are reviewed and committed. I will try to stick to this policy in the future.
> If it was up to me, I'd have attachment table with "Add..." button then open a > dialog similar to attachment wizard but with no "comment" area. So, user could > add/remove attachments ant then submit them all at once. +1
*** Bug 242808 has been marked as a duplicate of this bug. ***
*** Bug 242982 has been marked as a duplicate of this bug. ***
Bugzilla 3.6.3 supports add an attachment on new. I think we can add an section where we have the editors for the attachment fields (File, Description). Should I try this for 3.7?
I think this is a larger feature that requires framework support for offline attachments. My sense is that this is out of scope for 3.7 since we don't have a good driver for the feature at the moment. I have marked it as plan though so we consider it during the next planning session.
*** Bug 364870 has been marked as a duplicate of this bug. ***
(In reply to comment #12) > I think this is a larger feature that requires framework support for offline > attachments. Couldn't it be enabled only if the connector supports submitting attachments with a new task? Then there would be no need for offline support.
Should I start with this after 3.7 is out? The first step is to do the background work. So we have time to do the UI part later. Thoughts?
I don't think we can take this on in the short term. We have determine how to manage unsubmitted attachments first.
Just to say I spent a lot of time(s) going through the bug submission task UI to find the clip icon - I was sure it would be there... Especially for a new bug straight from the Error Log View - which should had the option to at least attach the log! Needless to say this means use the web UI _or_ add (spam) two comments - one just for the attachment. So please consider this, it is a serious deficiency in the bug submission UI Thanks! PS: reading the comments - no need for fancy additions - a UI just like bugzilla's
Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn