I have created multiple Subtask for all the parent issues.
for example (Story - Story Subtask) (Bug - Bug Subtask)
In that, I would like to show up relevant subtask create, the rest of the subtask needs to be hidden on the parent issue.
Solved! Go to Solution.
Please find the screenshot
I have my requirement to show up the "sub task" on parent issue only.
now you watching the screenshot from "Story" issue type.
Here i can make some restriction to create a "Bug Subtask" by Workflow Validator.
The thing is, relevant sub task only show on parent issue, it's concern about a user only.
Thanks & Regards
Balaji Sankar
You have already marked "Accept Answer" associated with the other one's suggestion of using ScriptRunner.
It seems that your question is not answered. In this case, it seems that you were able to restrict the Subtask issue type listing (custom one - Bug Subtask) via WF validator. If so, then you can apply the same concept/design by
1) Ensuring that all of your parent issue types are not using the same WF. If not, clone your existing WF and apply it to your different parent issue types. Where you can adjust the Subtask issue type listing accordingly.
I am interested on what you meant by using Workflow validator to control issuetype listing. Please provide more details, so I can assist further.
The main point is that your question is still not anwsered.
Best, Joseph
To limit issue types you can use script runner behaviours. Your behaviours should check issue type and limit subtask issue types based on that.
This is example how to limit issue types: - https://scriptrunner.adaptavist.com/5.5.7/jira/recipes/behaviours/restricting-issue-types.html
Regards,
Seba
Hi Seba,
Thanks for your suggestion, it's a good idea as you said. But my requirement is to implement on Cloud Jira.
@Sebastian Krzewiński point is a good one. Can clarify your ask with a bit more information. are you trying to restrict issue types listing to be selected from when one creates sub-tasks, then ScriptRunner Behaviours provides the solution.
However, you need to know that currently Behaviours component of Script Runner for Jira add-on is not available for Jira Cloud env. It is only available for the server/DC env.
Best, Joseph
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get the most out of Jira
Explore the interface and basic Jira terms, then discover how to effectively manage your work.
Learning Path
Atlassian tools and practices for developers
Focus on your development work by using Jira software features and functions efficiently.
Atlassian Certified Associate
Jira Software Essentials certification
Demonstrate proficiency in utilizing essential Jira features and working efficiently with Agile frameworks like Kanban and Scrum.