Hi mad irfan,
Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:
Search for Tasks were SubTasks was not created sins 3 weeks, i.e.:
issue IN hasSubtaks() AND issue NOT IN parentsOf("type IN subTaskIssueTypes() AND createdDate > -3w")
Note that this is just an example, you must tune above query to fit your needs
Using this app you can also query other issues relations, check:
Hope this helps you to create awesome queries <3
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events