We are using following code to bring Jira's creation dialog. All the fields are working fine except "Sprint " field. It supposed to show a combo to choose but it is not showing anything to choose.
var issueForm = JIRA.Forms.createCreateIssueForm({pid:${projectId}});
var dialog = issueForm.asDialog({windowTitle: 'Create Issue'});
dialog.show();
