Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-25373

Clicking +Create issue in a Plan, using Chrome or MS Edge as the browser, results in a Something Went Wrong pop-up when the plan's issue source uses more than 2 projects

    XMLWordPrintable

Details

    • 9.04
    • 13
    • Severity 2 - Major
    • 209
    • Hide
      2nd January 2024

      Dear Jira Users,

      I'm happy to announce that the issue will be fixed in Jira 9.13.1 and 9.14.0, with backports to 9.4.x and 9.12.x coming later this year.

      The bug was linked to a small piece of code that displays a dropdown for project selection, together with the project's icon. When no project was selected, the "Select project" text was displayed with no icon. However, instead of displaying no icon, the CSS was set to backgroundImage: url(''), which led Chromium-based browsers to attempt to fetch this empty URL. This emitted a performance-related browser event with a lot of data missing or empty, leading to JavaScript exceptions from 3rd party performance-tracking libraries that bubbled up until Advanced Roadmaps, preventing issue creation in plans.

      The fix we have implemented simply changes the CSS from backgroundImage: url('') to backgroundImage: none. This prevents the triggering of the problematic event, ensuring smoother experience.

      We appreciate your patience and support as we continue to improve our products.

      Best Regards,
      Daniel Rauf
      Software Engineer at Atlassian

      Show
      2nd January 2024 Dear Jira Users, I'm happy to announce that the issue will be fixed in Jira 9.13.1 and 9.14.0, with backports to 9.4.x and 9.12.x coming later this year. The bug was linked to a small piece of code that displays a dropdown for project selection, together with the project's icon. When no project was selected, the "Select project" text was displayed with no icon. However, instead of displaying no icon, the CSS was set to backgroundImage: url(''), which led Chromium-based browsers to attempt to fetch this empty URL. This emitted a performance-related browser event with a lot of data missing or empty, leading to JavaScript exceptions from 3rd party performance-tracking libraries that bubbled up until Advanced Roadmaps, preventing issue creation in plans. The fix we have implemented simply changes the CSS from backgroundImage: url('') to backgroundImage: none. This prevents the triggering of the problematic event, ensuring smoother experience. We appreciate your patience and support as we continue to improve our products. Best Regards, Daniel Rauf Software Engineer at Atlassian

    Description

      Issue Summary

      When a Plan is configured to use 2 projects as the Issue Source, clicking the 'Create Issue' link in a plan results in a red pop-up 'Something Went Wrong' when using Chrome (or Microsoft Edge) as a browser.  

      This is reproducible on Data Center: Yes

      This can only be reproduced in Chromium based browsers, like Google Chrome or Edge Chromium, or Microsoft Edge

      Steps to Reproduce

      1. Create two projects with sample data
      2. Create a new Plan that uses 2 projects as the issue source. For example: 
        Project = Project 1
        Project = Project 2
      3. Using Chrome, click the + Create issue link in the plan

      Expected Results

      The user is prompted to choose the project to create the issue in and then is able to successfully create a new issue. 

      Actual Results

      A red pop-up appears that is titled:  Something went wrong. Clicking the arrow in the pop-up shows a message: 

      'Wait a few seconds, then try again. If this keeps happening, let us know at https://support.atlassian.com/contact 

       
      Clicking the View Log button: 

      Stack Trace
      Uncaught TypeError: Failed to construct 'URL': Invalid URL
       
      TypeError: Failed to construct 'URL': Invalid URL
          at http://<baseURL>/secure/PortfolioPlanView.jspa?id=3&sid=3:100:348
          at Array.filter (<anonymous>)
          at PerformanceObserver.observe.type (http://<baseURL>/secure/PortfolioPlanView.jspa?id=3&sid=3:100:184)
       

      Workaround

      1. Click the Dismiss button and re-try. On the second attempt, the issue will be created successfully. 

      2. Use a browser other than Google Chrome (or MS Edge). This can't be replicated in Firefox or Safari.

      3. Click the ellipses of an existing issue and select 'Create Story'.

      Attachments

        Issue Links

          Activity

            People

              drauf Daniel Rauf
              jbennett@atlassian.com J van Leeuwen
              Votes:
              11 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: