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

Javascript error when using 'Where is my field?' in Create Issue screen from Agile's quick Create Issue

      Summary

      A Javascript error is thrown when the 'Where is my field?' option is clicked. This happens in the Quick Create Issue screen, as well as from the Create Epic screen both on an Agile Board.

      Environment

      JIRA Software 7.0.4

      Steps to Reproduce for creating issue:

      1. Navigate to a Scrum board and trigger the Inline Issue Create.
      2. Open the Create Issue dialogue
      3. Trigger the 'Where is my field?' option

      Steps to Reproduce for creating epic:

      1. Navigate to a Scrum board 
      2. from the backlog select Epic, create Epic
      3. Click the Configure Fields, and select 'Where is my field?' option

      Expected Results

      'Where is my field?' screen shows up

      Actual Results

      The following Javascript error is thrown from issue creation:

      Exception: Uncaught Uknown current dialog ID: prefillable-create-issue-dialog
      

      The following javascript is thrown from epic creation:

      Exception: Uncaught Uknown current dialog ID: create-epic-issue-dialog
      

       Screencast

      http://screencast.com/t/9cvP3VFc65

      Workaround

      • Instead of using the Board to create the Epic, use the Create Button in the top navigation bar to create the Epic. Following this method will permit you to use the 'Where is my field?' dialog without generating this error.

        1. createworkaround1.png
          createworkaround1.png
          98 kB
        2. For Atlassian Epic Create Misspelling.PNG
          For Atlassian Epic Create Misspelling.PNG
          28 kB
        3. javascript.png
          javascript.png
          127 kB
        4. Unknown.png
          Unknown.png
          135 kB

            [JSWSERVER-12965] Javascript error when using 'Where is my field?' in Create Issue screen from Agile's quick Create Issue

            Murakami added a comment -

            Murakami added a comment - https://getsupport.atlassian.com/browse/PS-51736

            Anurag added a comment -

            Click Create

            Make sure Epic is selected from the Issue Type dropdown

            Epic Name has been added to the Create Issue page…

            Anurag added a comment - Click Create Make sure Epic is selected from the Issue Type dropdown Epic Name has been added to the Create Issue page…

            Fault still exists in 7.12.1 and same spelling error.

            Fredrik Ivansson Flinta added a comment - Fault still exists in 7.12.1 and same spelling error.

            Paul Webber added a comment - - edited

            Still happening in Server 7.5.2

            If you can't fix the bug maybe you can correct the spelling error!

            Paul Webber added a comment - - edited Still happening in Server 7.5.2 If you can't fix the bug maybe you can correct the spelling error!

            Brian Taylor added a comment - - edited

            Seeing this with issues in 7.3.4 - when creating an epic in backlog and have he check box to create more issues appear to get similar error 

            Issue appear not to happen when the checkbook to create more issues is not checked 

            Brian Taylor added a comment - - edited Seeing this with issues in 7.3.4 - when creating an epic in backlog and have he check box to create more issues appear to get similar error  Issue appear not to happen when the checkbook to create more issues is not checked 

            Hoa Nguyen added a comment - - edited

            Hi, we just upgraded to JIRA 7.2.4 from JIRA 6.4.8.  So we are now having this issue, and our end-user do their work on the scrum board.

             

            Just curious why this ticket is still open for more than a year.  The code that is erroring is this.

            if(n.options.id=="edit-issue-dialog"){return l(n)}else{throw"Uknown current dialog ID: "+n.options.id}
            

            Isn't it just add the missing id to the if statement? Or maybe make sure it ends with 'issue-dialog'. Sorry if it is more complicated than that.

            Hoa Nguyen added a comment - - edited Hi, we just upgraded to JIRA 7.2.4 from JIRA 6.4.8.  So we are now having this issue, and our end-user do their work on the scrum board.   Just curious why this ticket is still open for more than a year.  The code that is erroring is this. if (n.options.id== "edit-issue-dialog" ){ return l(n)} else { throw "Uknown current dialog ID: " +n.options.id} Isn't it just add the missing id to the if statement? Or maybe make sure it ends with 'issue-dialog'. Sorry if it is more complicated than that.

              3e387befff2c Patryk Latkowski
              cchan Chung Park Chan
              Affected customers:
              19 This affects my team
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: