Hi All,
I recently created a JIRA automation rule that send a email when een registration of software is done successful for a customer.
This is working fine for 99% the only problem is with the link to attachments.
i use the following way to add a list of attachments
{{#issue.attachment}}
<a href="{{content}}">Attachment: {{filename}}</a>
{{/issue.attachment}}
This is working fine for our employees that have a JIRA license. but the link generated from {{content}} is not accessible for our customer that have only a JIRA Customer account.
the link that is generated is
https://*JIRA URL*/secure/attachment/*AttachmentId*/*AttachmentFilename*
When i login the to the customer portal the url that the customer see from there is as followed
https://*JIRA URL*/servicedesk/customershim/secure/attachment/*AttachmentId*/*AttachmentId*_*AttachmentFilename*?fromIssue=*issueid*}}
So i thought i wood created the URL for the email my self.
{{#issue.attachment}}
<a href= "*JIRA ULR*/servicedesk/customershim/secure/attachment/{{id}}/{{id}}_{{filename}}?fromIssue={{issue.id}}">Attachment: {{filename}}</a>
{{/issue.attachment}}
But the problem is that the smart value ((isue.id}} is not giving the value back i think it is because it is inside the smart value list. when i use the {{issue.id}} outside the list it is working.
How do i use the {{issue.id}} in the smart value list