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":{}}
Script:
<ul>
{{#issue.attachment}}
<li><a href="{{content}}">{{filename}}</a></li>
{{/issue.attachment}}
</ul>
How can I fix this?
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.
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)"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.