Forums

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

Using a filter to call another filter

mike fields
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 15, 2024

Looking to using a JQL to help find story points on a Epic. 

The epics are in project ABC

the stories are in project 1234

here is my attempt. 

 

 

 

 

project in (1234) AND type not in subTaskIssueTypes() AND status = done  AND resolutiondate >= startOfYear() AND issueFunction in aggregateExpression("Story Points", "storyPoints.sum()")  or issueFunction in linkedIssuesOf('filter = "MIKE for story points"') 

 

The first part of query is fetching too many items that are not aligned to the features. 

the 2nd part of the query 

 

issueFunction in linkedIssuesOf('filter = "CTB for story points"')  works well.. i am just trying to connect the two. 

 

i have also tried using EpicsOf to no success. 

1 answer

0 votes
Jim Knepley - ReleaseTEAM
Atlassian Partner
November 15, 2024

Welcome to the community, @mike fields 

I suspect that your query is not being interpreted the way you expect because of the order of operations in JQL.

You'll probably end up wrapping at least some of the terms of that query in (parentheses) that more clearly reflect your intention.

Suggest an answer

Log in or Sign up to answer