Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-32285

JIRA Issue Collector fails to attach file if third-party cookies are not enabled in Firefox

    XMLWordPrintable

Details

    Description

      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

      1. Disable third-party cookie support in Firefox.
      2. 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

      1. Go to Preferences section of FireFox.
      2. Under the Privacy tab, check if you have chosen to "Use custom settings for History".
      3. 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.

      Attachments

        1. ccf_not_populated.jpg
          ccf_not_populated.jpg
          108 kB
        2. missing token.png
          missing token.png
          522 kB

        Issue Links

          Activity

            People

              mszerszynski Mateusz Szerszyński
              dnicholson David Nicholson (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: