-
Bug
-
Resolution: Fixed
-
Low
-
7.0.0
-
7
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
When using Firefox, attempting to attach a file using the issue collector can fail with an error about a missing token. This occurs if the third-party cookies functionality is not enabled.
Environment
Firefox
Steps to Reproduce
- Disable third-party cookie support in Firefox.
- Attempt to attach a file using the JIRA Issue Collector plugin.
Expected Results
The file uploads successfully.
Actual Results
The below error is presented to the user in the browser:
Cannot attach file [FILENAME].png: JIRA could not attach the file as there was a missing token. Please try attaching the file again.
Workaround
- Go to Preferences section of FireFox.
- Under the Privacy tab, check if you have chosen to "Use custom settings for History".
- If so, make sure that "Accept third-party cookies" has been checked.
Notes
In fact if you're not attaching a file, the issue does still get submitted, so there's does not appear to be a requirement to write cookies.
Another potential workaround would be that the JIRA Issue collector plugin could also issue an error message to the user to change any settings that could affect writing cookies, such as allowing third-party cookies.
- is related to
-
JRACLOUD-66455 Issue Collector failed during attaching images
- Closed
- relates to
-
JRACLOUD-32285 JIRA Issue Collector fails to attach file if third-party cookies are not enabled in Firefox
- Closed