Create issue dialog from Script - additional fields not set

Hi Community,

I´m opening a new create issue dialog with quick-edit/form/factory/create-issue.
Works fine, dialog is shown and pid and issuetype are set.
Data can be entered and stored.

But additional custom fields, summary etc. are not set by script call.
How can I handle this? I want to set some data from my caller method too.

My code at the moment:

        function createNewRequest(pid, type, customer, phonenumber) {
            var createCreateIssueForm = require('quick-edit/form/factory/create-issue');
                createCreateIssueForm({
                        pid : pid,
                        issueType : type,
                        customfield_15304 : customer,
                        customfield_14529 : phonenumber
                    }).asDialog({
                        windowTitle : "Create new Issue"
                    }).show();

            closeDialog();
        }

Regards
Uli Huber

find the solution - with AJS I can check if form is loaded, after that I´m able to set values to field-ids