How to use third-party npm in Dynamic properties in ByLineItem of Forge?

NGPilot
Contributor
January 16, 2025

I know that I can install third-party npm to use in UI both UIKit and custom UI, but when I use one in the dynamic properties handler, things changed, it seems throw errors but I don't know how to debug it to prove my guess.

 

Here's a code sample from official docs

无标题.png

When I add import a from `a` then call a inside handlerFunction, it does not work, after I remove the import line keep all code original it works!

 

I do a small test to copy all code from the module a here above handerFunction, it does not work again, but when I move them into handlerFunction body before return, it works!

 

I don't know the restriction, how to use the third-party npm inside the dynamic properties handler? Can I use the third-party npm inside the dynamic properties handler?

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2025

Hi NG Pilot - Welcome to the Atlassian Community!

You should probably submit a support ticket to Atlassian for their assistance. 

https://support.atlassian.com/contact/#/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events