Is it possible to get name or id of last added attachment to issue using smart values?
I tried issue.attachment.id.last but it get last item from attachments list.
*.first or *.last return first/last item from attachment list. In many cases last attachment on list isn't last added attachment.
I fixed this by using script runner in automation for jira. This gave me attachments list which I was able to use in automation.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events