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

Update the jQuery version used in Jira for better compatibility

    XMLWordPrintable

Details

    • 45
    • 29
    • Hide
      Atlassian Update – 28 January 2019

      Hi everyone!
      We're glad to announce that jQuery upgrade lands in Jira 8.0.
      Thank you for your votes and comments on this issue.

      Jira 8.0 includes the newest 2.x version, i.e. 2.2.4, together with jQuery migrate plugin 1.4.1 to ease the migration. However, we might remove the migrate plugin in the future with a proper notice beforehand.

      Our jQuery 2.2.4 got two security patches for the following issues in order to address all-known jQuery security issues: https://bugs.jquery.com/ticket/11974 and https://github.com/jquery/jquery/issues/2432. Effectively, it means that jQuery available in Jira 8.0 has $.parseHTML method from jQuery 3.3.1 and auto-execution of scripts will be prevented by default when making AJAX requests with proper dataType not set.

      If you're interested, please take a look at jQuery upgrade page under Preparing for Jira 8.0 for the details.

      Kind regards,
      Maciej Rzymski
      Jira Server Team

      Show
      Atlassian Update – 28 January 2019 Hi everyone! We're glad to announce that jQuery upgrade lands in Jira 8.0. Thank you for your votes and comments on this issue. Jira 8.0 includes the newest 2.x version, i.e. 2.2.4, together with jQuery migrate plugin 1.4.1 to ease the migration. However, we might remove the migrate plugin in the future with a proper notice beforehand. Our jQuery 2.2.4 got two security patches for the following issues in order to address all-known jQuery security issues: https://bugs.jquery.com/ticket/11974 and https://github.com/jquery/jquery/issues/2432 . Effectively, it means that jQuery available in Jira 8.0 has $.parseHTML method from jQuery 3.3.1 and auto-execution of scripts will be prevented by default when making AJAX requests with proper dataType not set. If you're interested, please take a look at jQuery upgrade page under Preparing for Jira 8.0 for the details. Kind regards, Maciej Rzymski Jira Server Team
    • 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.

      Actually the jQuery version used in JIRA is still using the function jQuery.browser which is deprecated and has been removed since jQuery 1.9.
      In our plugins, we are using a newer version of jQuery but this causes conflicts between the two different versions breaking the new menu navigation.

      Attachments

        1. acunetix.JPG
          acunetix.JPG
          71 kB
        2. acunetix2.JPG
          acunetix2.JPG
          27 kB
        3. burp.JPG
          burp.JPG
          33 kB
        4. example.JPG
          example.JPG
          57 kB
        5. Screen Shot 2018-09-12 at 10.50.51 AM.png
          Screen Shot 2018-09-12 at 10.50.51 AM.png
          158 kB
        6. Screen Shot 2018-09-12 at 10.50.51 AM.png
          Screen Shot 2018-09-12 at 10.50.51 AM.png
          158 kB

        Issue Links

          Activity

            People

              mrzymski Maciej Rzymski
              729e1d50cffb Andrea
              Votes:
              43 Vote for this issue
              Watchers:
              66 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: