Custom UI: added child issue not showing in issue panel

Hi All,

In the issue panel, I have the user select a to do item and then it adds that to do item as a subtask. However, I have to view.refresh() to see the child issue. Is there a way to see it without refreshing the whole panel? It is a pretty bad user experience. Adding child issues (subtasks) seems to work natively without refreshing the whole panel… so I should be able to do it too, right?

Thanks in advance!