Forums

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

Tasks and Sub-tasks Query

Deleted user February 21, 2018

I want to find the Sub Tasks which are having a different FixVersion than the Parent Story.

 

 

2 answers

0 votes
Deleted user February 22, 2018

Thanks for the Answer.

Let me explain my condition.

Say my Parent stories are having a Fixversion "XYZ". All the parent stories are having subtasks. Most of the subtasks are having a Fixversion "XYZ" few does not have the Fixversion. I want to filter those subtasks alone.

If I use below query,  I will get all the subtasks where the Parent's Fixversion is not "XYZ"

"fixVersion != Parent'sFixversion and issuetype = Sub-task"

Laurens Coppens
Community Champion
February 22, 2018

Does this works? "where fixVersion is empty"

Deleted user February 22, 2018

No It does not. It pulls all the subtaks with no Fixversion. Thanks for your Answer.

Laurens Coppens
Community Champion
February 22, 2018

And you only want the subtasks without a fixversion but linked to the parent?

Or what exacly do you want?

Deleted user February 22, 2018

I want sub tasks which does not have Fixversions(Say XYZ), but their Parent has the Fixversion(XYZ).

Laurens Coppens
Community Champion
February 22, 2018

Aha, now i get it, unfortunatly as far as i know there is no out of the box way to do this.

Please check out this thread: https://community.atlassian.com/t5/Questions/How-to-write-a-query-based-on-value-in-Issue-s-parent-s-fields/qaq-p/46326

0 votes
Laurens Coppens
Community Champion
February 22, 2018

can't you just filter with fixversion != (your parent story fix version) and type = subtask

i don't think you can automatically fill in your parent story fix version

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events