Hello guys! I need open subtask dialog, but i can’t do it cause i should set parentIssueId. Another case it return me task, in subtask dialog.
Can i escape it?
JIRA.Forms.createSubtaskForm({pid:1000, issueType:10001, parentIssueId: null}).asDialog({
windowTitle: function () {
return JIRA.Dialog.getIssueActionTitle("Create Subtask");
},
trigger: document.createElement("a"),
id: "create-subtask-dialog"
}).show();