PAT is broken in customer portal when installed via OBR

XMLWordPrintable

    • Severity 2 - Major

      Issue Summary

      This issue happens in Customer Portal of JSM, where JSM is installed via OBR

      Steps to Reproduce

      1. Have an Jira instance
      2. Install JSM via OBR
      3. Go to customer portal of any project
      4. Go to User Icon on right corner and click Profile
      5. In the user's Profile, click Personal Access Tokens link

      Expected Results

      As a user I should be able to see Personal Access Tokens panel from customer protal

      Actual Results

      I see a page with exception and he below exception is thrown in the atlassian-jira.log file:

      2024-11-27 03:00:35,896+0000 http-nio-8080-exec-16 url: /internal-error ERROR      [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=845213d0-88db-4195-bedd-02a7abd8823c, interpretedMsg=, cause=java.lang.NoClassDefFoundError: com/atlassian/servicedesk/api/customer/CustomerContextService, stacktrace=java.lang.NoClassDefFoundError: com/atlassian/servicedesk/api/customer/CustomerContextService
              at com.atlassian.pats.entrypoint.JiraServiceManagementProfilePersonalAccessTokenServlet.isInCustomerContext(JiraServiceManagementProfilePersonalAccessTokenServlet.java:41) [?:?]
              at com.atlassian.pats.entrypoint.JiraServiceManagementProfilePersonalAccessTokenServlet.doGet(JiraServiceManagementProfilePersonalAccessTokenServlet.java:27) [?:?]
              ...

      Workaround

      Restart the node instance after installing OBR can move away from this issue

      Versions Tested

      Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below: 

      Testing Requirements Version Affected Version
      Customers Reported Version 10.2.1 Yes
      Most Recent Bug-Fix Release 10.2.0 Yes
      Previous Major Release 10.0.0 Yes
      Most Recent LTS 9.12.15 Yes

            Assignee:
            Mingyi Yang
            Reporter:
            Mingyi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: