Uploaded image for project: 'Atlassian Ecosystem'
  1. Atlassian Ecosystem
  2. ECO-838

asUser API requests for JSM portal only (customer account) users

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary:

      JSM apps that are invoked by portal-only (custom account) users will only be able to make asApp API requests to resources that support anonymous access.

      This means users have fewer permissions than they otherwise should.

      Portal-only users should have the correct permissions applied when a Forge app makes API requests on their behalf.

      Steps to Reproduce

      Follow https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-get

      Expected Results

      asUser() call returns values if the user is a customer

      Actual Results

      asUser() call returns a permission error if the user is a customer without an atlassian account

      Workaround

      Use .asApp() for the calls where that works too.

              fce1220932af Rashi Chandola
              79302268a842 Ana Viseu (Inactive)
              Votes:
              92 Vote for this issue
              Watchers:
              56 Start watching this issue

                Created:
                Updated: