Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL to return a list of issues where all sub-tasks within are the issue are all closed or canceled

I am a newbie at JQL and ask the community for help to come up with a query that returns a list of issues (in my cases Tasks) where the Tasks have sub-tasks within, but all of these sub-tasks are closed or cancelled (i.e. there's no open tasks that require attention).

Any advise?

2 answers

1 accepted

0 votes
Answer accepted

Hi, @Fatima Bernardo !

As I know Jira doesn't have out-of-box JQL-funtion for your case. 

I checked the Atlassian's docs about Advanced searching

But you can get it from apps:

  1. Scriptrunner
    Documentation link.
    issuetype = Task and statuscategory not in ("Done") and issueFunction in parentsOf("project = JRA and statuscategory in ("Done")
  2. JQL Search Extentions - 
    Documentation link.
    issuetype = Task and statuscategory not in ("Done") and issue in subTaskStatusCategory("Done")

Hello, Fatima, 

Have you already tried? Do you need any help?

Hi Fatima,

You can achieve this by using   JQL Search Extension plugin , you can use the query issueType="Story" AND subtaskStatus ="Done" please refer to the documents it contains examples and other necessary information related to the usage of plugin

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you