Hi @Aravinthakumar K and welcome to the Community! If you use ScriptRunner you can use the following:
issueFunction in hasSubtasks()
Hello @Aravinthakumar K
Welcome to the Atlassian community.
Can you please provide more information about what you want in the results of your filter?
Do you want only issues that have subtasks?
Are you trying to get the subtasks under all the issues that match your filter?
Are you trying to get just the subtasks that directly match the criteria of your filter?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trudy Claspill , Thanks for your reply!
Yes, I want to filter only issues that have subtasks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira does not have a native function in JQL for selecting issues based on them having (or not having) subtasks.
You can get that function from a third party app, as suggested by @Laurie Sciutti. Are you willing to get a third party app?
If you are not willing or your Jira administrators won't support that, you could work around that by using a custom field to keep a count of subtasks in each issue and using Automation Rules to set that field. Then you could use that field in your JQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.