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

Shared Canned Responses with images do not work for anyone other than the creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • Canned Responses
    • None

    Description

      Issue Summary

      When an administrator creates a shared canned response that contains images, it won't work correctly for other users.

      Steps to Reproduce

      1. As a JSM administrator, create a shared Canned Response with text and images.
      2. Using another JSM administrator or agent account, access a ticket and select the shared response.
      3. Try to save the comment.

      Expected Results

      The comment is saved correctly.

      Actual Results

      It shows the following error:

      We couldn't save your comment

      It might be empty or have invalid formatting. If you copy-pasted, try removing the formatting and adding it directly in the editor.

      On the network tab, it returned the following:

      {
          "error": {
              "code": "JwtAuthoriser:AuthorisationError",
              "title": "The token does not allow requested operation. \"urn:filestore:collection:upload-user-collection--1659084799\" needs \"read\" permission",
              "href": "https://api.media.atlassian.com#UnauthorizedError"
          }
      }
      
      {"errorMessages":["ATTACHMENT_VALIDATION_ERROR"],"errors":{}}
      

      The comment will work on tickets where the images already exist.

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              0d935b698c21 Aashika Jain
              adaluz Angélica Luz
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: