I have been using the html link approach (href="secure/QuickEditIssue!default.jspa?issueId=...") for a while, but now it doesn't work very well after JIRA 7.1.
After digging a lot, I've learned how to use the QuickEditPlugin.
For "create issue dialog":
JIRA.Forms
.createCreateIssueForm({pid: projectId})
.asDialog({windowTitle: 'Create Issue'})
.show();
// OR
var createCreateIssueForm = require('quick-edit/form/factory/create-issue');
createCreateIssueForm({pid: projectId})
.asDialog({windowTitle: 'Create Issue'})
.show();For "create subtask" dialog:
JIRA.Forms
.createSubtaskForm({parentIssueId: parentIssueId})
.asDialog({windowTitle: 'Create Subtask'})
.show();
// OR
var createSubtaskForm = require('quick-edit/form/factory/create-subtask');
createSubtaskForm({parentIssueId: parentIssueId})
.asDialog({windowTitle: 'Create Issue'})
.show();I hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.