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

Fetch the window.location at form display and not at page load

    XMLWordPrintable

Details

    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      We use the issue collector to request feedback from our users on an application using GWT. Our URL changes without reloading the page, which makes the issue collector unable to track our state changes.

      We had to copy and modify the issue collector javascript as follows:

                      collectFeedback = function () {
                          return $.extend(environmentProps, {url: Window.location});
                      }
      

      is now:

                      collectFeedback = function () {
                          var addedValues = {
                              Location: window.location.href
                          };
                          environmentProps = $.extend(environmentProps,addedValues);
                          return environmentProps;
                      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              04a4273f6d00 Matthieu Bertin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: