Hi,
On view issue page i am using java script to add couple of buttons to create sub-tasks of specific types.
What i am able to achieve so far is.
JIRA.Forms
.createSubtaskForm({parentIssueId: 130693})
.asDialog({windowTitle: 'Create Subtask'})
.show();
It is opening sub-task dialog fine, but i am not able to select sub-task type.
I have added parameters with issueType but no effect.It is always selecting Sub-Task by default.
What i need is to specify issue type with createSubtaskForm function.
Thanks!
Hello Ahmed,
Did you try adding issueType parameter to the method call? Similar to below
JIRA.Forms
.createSubtaskForm({parentIssueId: 130693, issueType: xxx})
.asDialog({windowTitle: 'Create Subtask'})
.show();
where issueType is the ID of the issuetype.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
np
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.