"Edit" button in Portal Groups for Team-managed projects routes to invalid URL and fails to load with "Something's gone wrong"

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      In Team-managed Jira Service Management projects, clicking the Edit button for a request type within the Portal Groups configuration page results in a "Something's gone wrong" error. This is caused by the UI incorrectly routing to a Company-managed project URL structure, which triggers a DataFetchingException when the frontend attempts to load the issue layout configuration.

      Steps to Reproduce

      1. Navigate to a Team-managed Jira Service Management project.
      2. Go to Space settings > Channels & Self Service > Portal.
      3. Click on the Portal groups tab.
      4. Locate any request type within a group and click the Edit button.

      Expected Results

      The UI should route to the Team-managed request type configuration page:
      .../jira/servicedesk/projects/{KEY}/settings/issuetypes/{ID}

      Actual Results

      The UI routes to an invalid path for Team-managed projects:
      .../jira/servicedesk/projects/{KEY}/settings/request-types/request-type/{ID}/request-form

      The page fails to load and displays the error: "Something's gone wrong. We couldn't load this request type. Try refreshing the page."

      The below exception is thrown in the browser console/logs:

      {
        "message": "Failed to load initial data. issue-type-page.services.fetch-data-service",
        "error_details": [
          {
            "message": "Bad request",
            "locations": [{"line": 295, "column": 9}],
            "path": ["issueLayoutConfiguration", "metadata", "configuration"],
            "extensions": {
              "errorType": "INTERNAL_ERROR",
              "statusCode": 400,
              "classification": "DataFetchingException"
            }
          }
        ],
        "sentFrom": "jira.frontend.jiraProjectSettingsAppsIssueTypePageJsmCommon.fetchLayoutConfigurationJsmCmp.reliabilitySlo"
      }
      

      Workaround

      Administrators can bypass the broken "Edit" button by navigating directly to the Request Types settings:

      1. In the project sidebar, go to Project settings.
      2. Select Request types.
      3. Click directly on the name of the request type you wish to modify (e.g., "Report a Bug").
      4. This will open the correct configuration page where the request form and fields can be edited successfully.

              Assignee:
              Lee Wang
              Reporter:
              Leonardo Barrios
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: