There is a task which in turn can have multiple subtasks. But the subtasks cannot be created independently. For a subtask to be created the User has to first create a task or select an already defined task and then associate the subtask to it. This means subtask cannot be created independently.
It seems that you need an enforcement in a structure - to make sure SBI are always created under a PBI. Structure plugin does not have this functionality yet, but this is a good feature request. I have posted it to our JIRA: https://jira.almworks.com/browse/HJ-978 - feel free to vote/watch/comment.
There's also a related feature request here: http://structure.uservoice.com/suggestions/514887
At the moment, there's no way to enforce it because to add an issue to a structure at all, it has to be created first.
If you got time and resources to tap into Structure API, you can write your own mini-plugin or a remote script that would do JIRA search for SBIs, then fetch hierarchy from Structure API and locate SBIs that are not under PBIs. Then the script would notify an admin about the violations.
More on Structure API: https://wiki.almworks.com/x/oYF7
Yes Nic what you are saying is true. But we have a requirement in our project where in we have a change request(you can call it as task) which in turn contains PBI(u can say subtask). This PBI inturn can have many SBIs(subtask again). But say if a user is trying to create an SBI possibly it could be denoted as SBI1 then we need to somehow customize jira for not allowing such type of creations. User could be accidentally trying to create this. It is just by looking at the tag "SBI" we come to a conclusion that this is subtask created without a valid parent. Creation of such subtasks should not be allowed. It can be allowed if and only if it has a parent.
I hope i clarified the requirement to some extent
I'm afraid I'm completely lost now, sorry (and there's still not exactly a question here)
You can not create a sub-task without a parent in Jira.
I'm not sure about the structure plugin, but I don't think you can do it there either, unless you are mixing up sub-task types somewhere.
Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG