Is there a way to use the changelog (automation for JIRA) to see if attachment list has changed when a ticket has been updated?
I am trying to use a compare condition to do this.
What I want to do is get a list of attachments that were recently added to a ticket. If I can't do that, then I just want to see if the attachments list changed
So you can use our 'Field value changed' trigger to monitor the attachment field for changes already: https://docs.automationforjira.com/getting-started/triggers.html#field-value-changed
However we don't support the use-case yet, to figure out which attachments specifically were added/removed: https://codebarrel.atlassian.net/browse/AUT-797
Hope that helps!
OK I have tried using the "Field value changed" but I have an issue with it. Allow me to set some context of what I am trying to do. So a customer of mine emails me an issue to our Service desk project. The email has an attachment. When the ticket is raised in service desk, I have a rule that creates a linked issue into our Software Project so the developers are aware of the ticket and can work on it. In this case I want to ensure the attachment is copied across to the Software ticket.
Secondly if my customer continues to send me more information on a ticket via email, this as you know will be added as a comment to the service desk project. I then want the comment to be copied to the software ticket so my developers are aware.
So to try and achieve this I have created three rules. The 1st rule creates a linked ticket in the software board. This executes fine.
The 2nd rule has a trigger based on a comment being added to a support ticket. I then take this comment and copy it to the software ticket. This works fine.
The 3rd rule is taking any attachments (using the @"Field Value Changed" trigger to see if attachments has changed) and create a perm link to the software ticket (I know we can't copy or move attachments). Its this rule that does NOT work. What is interesting, is that if a support agent attaches the ticket manually via the Helpdesk, the attachment is "copied" to the software ticket (that is the rule I created works).
So my question is why would the 3rd rule work when playing around with attachments inside Service desk but not when the attachment is on an email? This is why I was asking the original question about using the "Compare Condition" to see if the changelog tracks if the attachment list has changed. I can then at least copy (or create links) of ALL attachments (as I can't track what was recently added) to the software ticket in its comments section.
Hope that makes sense
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
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