My app in intercepting the event avi:jira:mentioned:comment. As per documentation, this event will be triggered no matter who is getting mentioned in the comments. I need to react only when my app in mentioned, and looking at the event payload I think I should check the key mentionedAccountIds, that contains an array of accounts ID:
mentionedAccountIds: [ '712020:d82d78f5-e9c8-4645-b866-ab0e5d168899' ]
How can I check that one of those Ids corresponds to my app? Is there an API that I can lunch at startup to check the app account id?
Thanks!