How to get the newly added attachment through smart values.
Can you please elaborate what is the use case? Why do you want to get attachment?
Do you want to get the name/URL of attachment or download the attachment
I've added an automation for issue updated event for attachments.
I've tried using:
[{{#attachment}}{"attachment_link":"{{content}}","name":"{{filename}}"}{{^last}},{{/}}{{/}}]
but it gives all the attachments of an issue.
I only want to get the url and filename of the last/recently added attachment.
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.
I had tried, but this is not giving the correct results each time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is a little tricky but a saw a similar thread and was able to do something like this.
Trigger on Attachment -> Value added
Then you need a smart branch on {{issue.attachment}}
Then check if {{attachment.filename}} equals {{addedfieldChange.values}}
Then the attachment you want (i.e, the one just added) is in focus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.