Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,047
Community Members
 
Community Events
168
Community Groups

Find Story with all closed sub-task exept of specified sub-rask type

Hi,

I have issue type Story and two sub-tasks issue type Task and QA. Is there any way to find all Stories with closed Tasks but open QA issue?

1 answer

1 accepted

1 vote
Answer accepted
Mark Segall Community Leader Sep 07, 2022

Hi @Alena Samruk - Unfortunately, not natively.  You may be able to accomplish this with a 3rd party app like scriptrunner

@Mark Segall  thanks for the answer! Could toy please clarify how to do it with scriptrunner?

Making sure I understand this a bit better.  Your comment is a bit misleading...

two sub-tasks issue type Task and QA

Task is its own issue type that is at the same level hierarchically as Story.  Assuming our "Task" is really "Sub-Task", you could do this with scriptrunner:

issueFunction in subtasksOf("(issueType = Sub-Task AND statusCategory = Done) AND (issueType = QA AND statusCategory != Done)")

Now, if Task/QA are really just standard issue types that are linked as children of the story you'll want to do something like this (Note - I'm using blocks, but you could go with something else):

issueFunction in linkedIssuesOf("(issueType = Task AND statusCategory = Done) AND (issueType = QA AND statusCategory != Done)", "blocks") 

 

Like Alena Samruk likes this

@Mark Segall thanks for helping, it's work!

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

181 views 1 6
Read article

Atlassian Community Events