How do i get the Payload of the event in Jira Forge app?

I am using avi:jira:updated:issue event and i want the payload for using that data. Where can i get that from?

Hello, @SomaliBanerjee,

The payload is the first argument of your handler function. Try this:

export async function eventHandler(payload, context) {
    console.log(JSON.stringify(payload, null, 2));
    return true;
}