Hi
Now there are 4 issue types as follow.
A、B、C(sub-task)、D(sub-task).
Only C sub-task can be created for A issue type, and only D sub-task can be created for B issue type.
Is there a way to sovle my question, such as javascripte code,validator and so on.
thanks.
I think that you can use the JIRA Behaviours plugin to achieve that as it allows adding custom validation (both client side and server side) when creating an issue. So you can implement validator that checks if the selected subtask is valid for the issue type that is being used as sub-task parent. I can't give a sample code as I'm not very familliar with the Behaviours plugin but if you take a look here - https://jamieechlin.atlassian.net/wiki/display/JBHV/JIRA+Behaviours+Plugin it should be easy to implement such logic
@Wu,
Did my solution helped you , if yes please accept the answer.
But if you found a better solution , then please share with me :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wu,
through use of web-items , you can achieve this feature objective.
By web-item , you can have button to create specific subtask for the issuetype (create issue action).
And again, you can try to hide the "create subtask" under actions through javascript.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Wu,
Did my solution helped you , if yes please accept the answer.
But if you found a better solution , then please share with me :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your solution.But I can not understand well.
Could you give me more information.
Waiting for your response.
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.