Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Hide Subtask on parent issue

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. 

3 answers

1 accepted

1 vote
Answer accepted

Hi @Balaji Sankar 


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




Hi Seba,

Thanks for your suggestion, it's a good idea as you said. But my requirement is to implement on Cloud Jira.

0 votes

@Sebastian Krzewiński -

@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

0 votes

@Balaji Sankar -

Welcome to the community.  It is not possible to achieve what you are asking.  Subtask(s) should only be created against parent issue as needed basis.  Once a subtask is created for a given parent issue, it is going to be visible and cannot be hidden.

Can you explain your reasoning behind "created multiple Subtask for all the parent issues"? 

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Hi @Joseph Chung Yin

Please find the screenshot

Sub task.png

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   

@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 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events