Assets API permission error when using PUT method with an invalid object attribute ID

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      Using the Put object endpoint with the Jira Service Management Cloud Assets REST API returns a permission error if the payload contains an invalid object type attribute ID.

      Steps to Reproduce

      1. Using the Put object endpoint, try to update an existing object.
      2. In the payload, provide an invalid ID for objectTypeAttributeId.

      Expected Results

      A proper error message regarding the invalid ID should be shown

      Actual Results

      The following error is shown:

      {"errorMessages":["Sorry, you do not have permission to perform this action."],"errors":{}} 

      Workaround

      Ensure that the object type attribute IDs are valid.

            Assignee:
            Unassigned
            Reporter:
            Diego Borba (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: