Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I find all tasks that have child tasks?

Eric Smith
Contributor
April 20, 2015

The end result is I'd like to create a filter that finds ANY issues that have child tasks that were CLOSED within a certain timeframe.

I know I can search by task ID, but I want to find ANY / ALL tasks that have child tasks.

3 answers

2 votes
Udo Brand
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 20, 2015

If you have scriptrunner installed you can use something like (e.g. closed within the last 7 days)

issueFunction in parentsOf("status changed to closed during(-7d,now())")
1 vote
Udo Brand
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 20, 2015

Well, to your new question;

> Now if there is were a way to actually show the tasks that have become UNBLOCKED... that would be a godsend.

Take your query and save it as a filter (FilterA) - then use:

issuefunction in linkedIssuesOf("filter = FilterA")
Eric Smith
Contributor
April 21, 2015

You're awesome :)

0 votes
Eric Smith
Contributor
April 20, 2015

I ended up going with this: 

issueFunction in hasLinks("this issue blocks") AND status changed to Closed after -7d 

since it let me find any of those "blocker" tasks that have been closed, which should free up other users to work on the issues they were blocked by.

 

Now if there were a way to actually show the tasks that have become UNBLOCKED... that would be a godsend.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events