I am part of the support team at cisecurity and I have been uploading certifications which then gets sent via an automated email and a ticket gets created within the Marketing department with the links for the files that I have uploaded. One of the links works but the other links produces an error because Jira adds a comma next to the attachment id. Nothing has been changed on the support side with the automation message, so I think this may be a bug within Jira.
I have added some screenshots below. Thank you for your help
The error is looking for the attachment with an ID of '298244,'. The important part there is the ',' as it thinks it is part of the ID. In the URL remove the ',' and you should see the attachment.
How are you getting the links and then how are you constructing them into an email?
Thanks,
Tim
Thank you for your response @Tim Perrault !
It seems to be an issue with the attachment config macro - that has been in place for months.
Looking back through old tickets that, seems to be in there too and when I click on those links the attachment opens.
so not sure what has changed but tickets from a month ago have valid links, new tickets get the error.
So the URL to that attachment has changed. It used to be this -
and now it's this
It seems to me that Atlassian have changed something on the backend.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of using {{attachment.content}} you could use something like this below:
Attachments:
{{#issue.attachment}}
<li><a href="{{content}}">{{filename}}</a></li>
{{/issue.attachment}}
This will create a list of the filename as URLs to the attachments.
Thanks,
Tim
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.