You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
Is it possible to nest a filter inside another filter in JQL?
Currently, I have (PROJ-X being the issue keys resulting from another filter).
issueFunction in linkedIssuesOf("key in ( PROJ-1, PROJ-2,PROJ-3,PROJ-4, PROJ-5, PROJ-6)") AND type not in (Epic) AND status not in (Canceled, Closed)
Instead of copying and pasting the results from the other filter, is it possible to reference it inside the JQL?
i.e. issueFunction in linkedIssuesOf("key in (filter = 10000 )") AND type not in (Epic) AND status not in (Canceled, Closed)
Hi - this should be possible.
You can save a JQL query and then refer to that saved query in another JQL query (ie. nest it in another query).
For example,
1) Create the JQL query that is intended to be nested in another query, eg:
key in ( PROJ-1, PROJ-2,PROJ-3,PROJ-4, PROJ-5, PROJ-6)
2) Save the JQL query under a suitable filter name, eg "My Issue List"
3) Refer to your saved filter in another query, eg.
issueFunction in linkedIssuesOf("filter = \"My Issue List\"") AND type not in (Epic) AND status not in (Canceled, Closed)
@sid Thank you so much for your help. My issue was that I kept "key in" while trying to call the filter!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.