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!


JQL for subtasks in a specific status

I'm in search of a possibility to filter out issues with a subtask. Those subtasks should by in status analysed. 

I was thinking about: issueFunction in hasSubtasks() AND status = analysed

But when I use that JQL, it will look for Story issues in analysed with subtasks. But I need Story issues with subtasks which are in analysed.

Is it possible to achieve that?

2 answers

1 accepted

1 vote
Answer accepted
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 04, 2023 • edited

Hi @ray 

It should return Stories with sub-tasks in Analysed statuses.

  • type = Story and issueFunction in parentsOf("status = Analysed")

Also take a look at JQL Functions page.

thanks! That did the trick, I need to test it further but it's looking good

Hi all,

now I'm looking for a reversed filter: 

My subtasks are in analysed and the parents of the subtasks are f.e. in 'on hold'. 

I could use this JQL:  

  • type = Story AND status = "on hold" and issueFunction in parentsOf("status = Analysed")

But I'm trying to use it in structure formula's to be applied to sub-tasks. So when I try the above JQL, It would return nothing since it refers to a story and my formula needs to be applied to a sub-task.

I think it could be solved if I have an reversed version of issueFunction in parentsOf(): that one starts from a story and looks for its subtask in a specific status but I'm looking for a function that starts from the subtask and is looking for its parent in a specific status...

It's very difficult to explain, so I hope someone understands my problem and help me :) 

doh, I think I just found it myself: issueFunction in subtasksOf("status = 'on hold'")

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events