Drag and Drop attachment upload is broken on Jira
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Tracking
()
People
(Reporter: krzysztof.glebowicz, Unassigned)
References
(Regression, )
Details
(Keywords: regression, webcompat:contact-in-progress, webcompat:site-report)
User Story
outreach-assignee:jrmuizel outreach-contact-date:2026-04-05 user-impact-score:30 platform:windows,mac,linux impact:feature-broken configuration:general affects:all branch:release diagnosis-team:dom
After landing bug 1993095, "drop files to attach" feature in the Attachments section of JIRA issue is broken. After dropping a file, this file opens in the active tab, instead of being attached to the issue.
With Chrome Mask everything works as intended. This bug is similar to bug 2035190.
Comment 1•18 days ago
|
||
:edenchuang, since you are the author of the regressor, bug 1993095, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
c.dragEventContainsFiles = function (a) { if (!a.dataTransfer || !a.dataTransfer.types) return !0; a = a.dataTransfer.types; return m.isMozilla() ? e.contains(a, 'application/x-moz-file') : e.contains(a, 'Files') }
Comment 3•18 days ago
|
||
Krzysztof, I haven't been able to reproduce the problem in our local instance. Can you provide more detailed steps to reproduce?
JIRA Software 10.3.0 (Data Center).
- Open any existing test ticket and expand the Attachments section.
- Try to drag and drop any PDF document to the d&d field.
- PDF file opens in a tab instead of being attached to the ticket.
I pasted a JS code above, it looks like a reason of this issue. There's also 1 additional report on SUMO about it, but without any specific details.
Updated•17 days ago
|
Comment 5•17 days ago
|
||
Filed upstream with Atlassian: https://jira.atlassian.com/browse/JRACLOUD-98244
Updated•17 days ago
|
Updated•16 days ago
|
Updated•16 days ago
|
Updated•11 days ago
|
Description
•