Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-17495

fetch Asset name for users without permission

XMLWordPrintable

    • 1
    • 0
    • 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

      Currently, if a user does not have read permission for an Asset, our gadget is unable to display the Asset name, even though the user can see the Asset name in the Jira’s issue view or in the Jira’s issues table when the Asset is referenced in a custom field.

      However, for users without permission to access the Asset, this API call returns a 403 Forbidden error.
      We understand that users without full access cannot open the Asset details, but we’d like to at least display the Asset name, similar to what Jira already allows.

      Steps to Reproduce

      1. Making an API call towards /gateway/api/jsm/assets/workspace/{workspace}//v1/object/XX?includeAttributes=false

      Expected Results

      Display the Asset name, similar to what Jira already allows.

      Actual Results

      403 Forbidden error.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              91f63e98a1b9 Gabriel Vilhena
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: