On extensionContext property deprecation in Resolver

Hi,

Can’t get the new extension property in Resolver (1.1.0) to work. Previously used extensionContext works fine in 1.1.0.

It was announced in the Changelog that extensionContext will be deprecated on March 30: https://developer.atlassian.com/platform/forge/changelog/#notice—deprecation-custom-ui-extension-context-api

Can someone help me figure out how to use this new property?

Example of my current code in the Custom UI resolver:
await storage.get(storageObject-${context.extensionContext.projectKey})

When I modify it to context.extension.projectKey, it returns undefined.

Thanks!

1 Like

Hi @IgorAndriushchenkp,
Thanks for asking - the new extension requires changing extension.projectKey to extension.project.key

2 Likes