Forums

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

story with at least two subtasks with certain fields

Caro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2021
Hello I need JQL help.

Story with at least one subtasks with issueFunction in subtasksOf ("cf [10229] = xx") and at least one subtasks with issueFunction in subtasksOf ("cf [10229] = xy")

Thank you so much!

2 answers

1 accepted

2 votes
Answer accepted
Suvarna Gaikwad
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.
November 10, 2021

@Caro Please use below JQL

type=Story AND issueFunction in parentsOf("project = projectname and type = Sub-task and cf[10229] in (xx,xy)")

0 votes
Caro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2021

Throughout the whole, I'm looking for subtasks with a specific field where the parent story has at least one subtask with a specific other field.

Idea:

Filter 1: issuetype = Story AND issueFunction in subtasksOf("cf[10229] = xy") 

Filter 2: issueFunction in subtasksOf("filter = 'Filter1'") AND cf[10229] = xx

Suggest an answer

Log in or Sign up to answer