Forge jira dashboard gadget configure after migration from connect - Not getting entryPoint property on gadget configuration

Hi,

We have migrated our app from connect to forge after migration when I go to the dashboard page and edit dashboard and click on configure of one of the gadget I am not getting entryPoint property in context to identify Configure event, providing my code below

 AP.context.getContext((context) => {
if (context.extension && context.extension.entryPoint === 'edit')
{
...logic
}
}

It happens only first time configure click, first time onwards it works as expected.

Please provide the way to address this issue.

                                                                Thanks.   
                                                      

@MaheshMuglikar ,

To clarify, is it just the entryPoint value which you’re not getting or could it be that it hasn’t yet loaded as you’re awaiting an async event?

Look forward to hearing from you!
Cheers,
Mel

Hi @mpaisley ,

Thanks for your response,

I just want to confirm that I am getting the response but in ‘extention’ object ‘entryPoint’ property is missing, and it happens for first ‘Configure’ click after migration, first time onwards if I click ‘Configure‘ it returns ‘entryPoint’ property in ‘extension‘ object of response.

Hi @mpaisley ,

Any thoughts or suggestions would be appreciated.

                                                   Thanks.