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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.