In Epic issue can we add more columns under linked issues

We are using Jira server 9.4.5, and I need to add a new column in the Epic issues section (custom field ID is customfield_10105). During my research, I discovered a community discussion about his issue at the link below.

I tried to add the script in announcement banner but nothing added in my epic table and here the script below

Please let me know where I need to make changes to the script. I’m new to scripting, so any assistance would be greatly appreciated.
Thanks,
SA