I want to get all issues which hasn't their delivered by Epic in the status New.
I built this JQL:
project = SFCR AND component = DMS AND status = Open AND "Epic Link" not in (status != New)
but getting this error:
Hi @Kaan Coskun
just to expand on @Craig Nodwell's great answer:
Unfortunately, this is trickier than one might think; as a hierarchical query, it would really require some kind of join or subquery, which isn't available in plain Jira/JQL.
A few directions forward:
If you want to run your search dynamically, without manually stitching two queries together, you'll need extra tooling:
Hope this helps,
Best,
Hannes
Just to expand on the last point, this is how this would look in the app that my team and I are working on, JXL for Jira:
(I'm using epic status "To do" here but it would work the same with "New".)
Once you have your list of issues, you can work on these directly in JXL (much like you'd do in e.g. Excel or Google Sheets), trigger various operations in Jira, or export them for further processing.
Any questions just let me know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kaan Coskun welcome to the community. Your 'not in(status != New) is invalid. Using the not in you list the statuses re: status not in(New,"To Do",Open)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Craig Nodwell Thank you for the reception!
How the whole JQL has to look like then?
I still can't figure it out, sorry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Out of the box jira won't give you those details. Do you have any add-ons that provide issue functions for jql queries. re: scriptrunner
The below example is using an issuefunction provided from the scriptrunner add-on.
issueFunction in issuesInEpics("project = SFCR AND component = DMS AND \"Epic Status\" != New")
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.