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

Issue Collector displays wrong Location information

    XMLWordPrintable

Details

    Description

      Summary

      Sometimes Issue Collectors are used for customers to collect feedback data for JIRA Issues. This may be a problem if the Location information that is collected is incorrect.

      Steps to Reproduce

      1. Create an Issue Collector in any Project. Make sure the Checkbox for "Collect browser type, screen resolution, and the URL where the feedback was created" is checked.
      2. Take the <script> code and place it in the JIRA Administration > System > User Interface: Announcement Banner. You should see a "Provide Feedback" button in the UI.
      3. Go to the Issue Search Navigator. It doesn't matter if you are in a saved search filter or not.
      4. Hit refresh on your browser.
      5. Open an Issue.
      6. Click the "Provide Feedback" button and create an Issue with the Issue Collector.
      7. Go to the new Issue that was created (by clicking on the link after submission, or going to the Issue in the Project).

        Expected Results

      Actual Results

      The Location information does not reflect the Issue or Search View that you were in when the "Provide Feedback" button was clicked. It only reflects the value from the last browser refresh. This is incorrect.

      Solution / Workaround

      The following ticket may present a Workaround in some circumstances:

      https://jira.atlassian.com/browse/JRA-40574

      This ticket outlines a possible Workaround where the window.location information is collected at the form's display instead. This may not work if the Issue Collector is placed in the Announcement Banner for JIRA, as the environment is more restricted.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kgrier kitkat
              Votes:
              7 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: