Use case: Historically we've been able to copy the URL to an attachment and paste that URL in a URL field. In the new Jira UI you can no longer (easily) copy the URL of the attachment
Potential workaround: Jira Automation Rule, triggered by a change to Attachment which will comment the URL to the most recent attachment. Ideally we would like the URL to the attachment directly to Custom Field, but would be okay with the URL link being commented and copied from the comments as well.
I'm having trouble writing a rule to return the URL of the most recent attachment closest I've gotten is {{#issue.attachment.last}} "{{content}}">{{filename}}</a></li>{{#issue.attachment.last}} but last. does not seem to return the most recently uploaded attachment
Any other thoughts would be much appreciated. Thank you!