Open Bug 2036745 Opened 18 days ago Updated 11 days ago

Drag and Drop attachment upload is broken on Jira

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

Firefox 150
defect

Tracking

()

UNCONFIRMED
Webcompat Priority P3
Webcompat Score 3

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.

Keywords: regression
Regressed by: 1993095

: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.

Flags: needinfo?(echuang)

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') }

Krzysztof, I haven't been able to reproduce the problem in our local instance. Can you provide more detailed steps to reproduce?

Flags: needinfo?(krzysztof.glebowicz)

JIRA Software 10.3.0 (Data Center).

  1. Open any existing test ticket and expand the Attachments section.
  2. Try to drag and drop any PDF document to the d&d field.
  3. 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.

Flags: needinfo?(krzysztof.glebowicz)

Filed upstream with Atlassian: https://jira.atlassian.com/browse/JRACLOUD-98244

User Story: (updated)
Flags: needinfo?(echuang)
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: --- → 1
User Story: (updated)
Webcompat Score: 1 → 3
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.