Attachment download for non users or customers

Hend Salem December 2, 2024

 

 

Hi,

I get this error message when trying to download the attachment following these steps:

{"errorMessages":["You do not have permission to view attachment with id: 43978"],"errors":{}}

 

  1. Create a new rule, with a trigger - we used Issue Updated
  2. Add an action, Send Email 
  3. Select a To - such as Assignee
  4. Enter your text into the "Content" box - including the attachments list using the below script
  5. Press Save, name your rule and activate it

Script:

<ul>
{{#issue.attachment}}
<li><a href="{{content}}">{{filename}}</a></li>
{{/issue.attachment}}
</ul>

 

 

 

How can I fix this?

2 answers

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2024

Hi @Hend Salem 

Welcome to the community.

Does the user or customer have an account and are they logged on.

You need to be logged on to the portal is this is required in the customer settings on the JSM project.

Hend Salem December 2, 2024

Hi Marc,

Thanks for replying!

They are not customers nor users. I am using Jira to send email for externals and trying to find a way they may download the attachment added in Jira through the received email. 

Yet the customer notification set as "Download attachments via a secured link (without logging in)"

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2024

Hi @Hend Salem 

To have user download an attachment, they need to be user or customer.

Sending a link to a non Atlassian user in your instance will not allow them to download the attachment

0 votes
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2024

Hi,

Is the person you send it to an agent or customer or collaborator? Does this person has access to the issue? Is the user logged in?

If it is a customer, it has probably to do with your project settings.

Go to https://<yoursite>.atlassian.net/jira/servicedesk/projects/<yourprojectkey>/settings/customer-notifications

You can let attachments download without logging in.

image.png

Hend Salem December 2, 2024

Hi Rudy,

Thanks for your reply!

 

Yes, this option is already selected, but the one who receives the email is not a customer or a user.

I am using Jira to send emails to externals and trying to find a way they may download the attachment added in Jira through the received email. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events