Update the jQuery version used in Jira for better compatibility

XMLWordPrintable

    • 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

      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.

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

            Assignee:
            Maciej Rzymski
            Reporter:
            Deleted Account (Inactive)
            Votes:
            43 Vote for this issue
            Watchers:
            67 Start watching this issue

              Created:
              Updated:
              Resolved: