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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.