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.
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.