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

Loading Screen Admin page fails due to workflows with invalid screen fields

    XMLWordPrintable

Details

    Description

      Issue Summary

      As of Jira 8.19, the Screens administration page uses the REST API to paginate and load the list of screens according to JRASERVER-67331: View Screens page load slow when there are many screens and workflows.
      When there is a workflow imported that contains a screen that doesn't exist, loading the Screen Administration page <baseurl>/secure/admin/ViewFieldScreens.jspa ends up with an HTTP 500 error.
      The corresponding log entry mentions a missing screen java.lang.IllegalArgumentException: Cannot find Screen with id '<screenid>'.

      Steps to Reproduce

      1. Step 1 Import a workflow that contains a screen that doesn't exist on the Jira instance
      2. Step 2 Load the screens administration page <baseurl>/secure/admin/ViewFieldScreens.jspa

      Expected Results

      A paginated view of the screens will show up, as well as the workflows that use the screens.

      Actual Results

      When there is a workflow imported that contains a screen that doesn't exist, loading the Screen Administration page <baseurl>/secure/admin/ViewFieldScreens.jspa fails with the message below

      The corresponding HAR file shows that an HTTP 500 error occured.
      Tracking the session to the atlassian-jira.log file shows the exception:

      java.lang.IllegalArgumentException: Cannot find Screen with id '<screenid>'.
      

      Workaround

      • For adding a new screen:
        Access this URL directly to add a screen: <Jira base URL>/secure/admin/AddNewFieldScreen.jspa

      Attachments

        Issue Links

          Activity

            People

              d996197e70d9 Artur Falborski
              6d6f6a289aac Konde
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: