Hi Team,
I want an automation rule to add attachments as comments if we add any image to the comment, excluding already existing images.
Say, suppose I have four attachments in the ticket already, and I have uploaded a new image in a comment. I want only the newly added image comments again by excluding the older four attachments.
I'm using the below automation, which is adding existing attachments as well.
{{#attachment}}
!{{filename}}!
{{/}}
Hello @SaiSatya {Appfire}
If I understand correctly, your need is:
When a new attachment is added, you are looking for a way to delete all old attachments except the new one.
Is this correct? If so, I can try to help you find a solution.
{{attachment.last.filename}}
My actual use case is when I add a new attachment added to a comment, I want the same attachment to be commented once again by Automation for Jira. For me If I add one attachment in comment Automation for Jira it's adding older attachments as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @SaiSatya {Appfire}
If you want the automation comment the last attachement, can you try this smat value ?
!{{attachment.last.filename}}|thumbnail!
You can try this one if in your last comment, is has only a attachement and now texte
{{issue.comments.last.body}}
Hope this can help your need :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
* You can try this one if in your last comment, is has only a attachement and no texte
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.