How to dynamically get a custom field in forge app for JIRA

I have created my first forge app for JIRA. Based on the inputs i am able to fire the updates against Story Point. However, currently i have hard coded it.

Since different jira instance would have different custom field name, what is the right way to use custom fields in the code so that it works seamlessly across the board.