Integrating JSM with another Incident management system and attempting to keep comments and attachments in sync.
When adding an attachment, it appears to only triggered on Issue Commented.
It won't fire on Field value changed on Field attachment.
So, lines of text and files are comments in the view, yet attachments will show in the attachments section.
Next. Attachments are shown in a list {{issue.attachments) and comments in {{issue.comments}}
Issue: I only want to sync the other system if one or the other or both are entered.
Is there an easy way to see if there is a bit or flag that states it is new?
I'm thinking I might be able check the timestamp on the .last entry to see if it is within n number of seconds of now(). If true, then log it.
Thoughts?