I have set some custom definition of dones and I need a JQL where I can get all the items that have a particular DoD set to Not Applicable only or false.
I'm using "Definition of Done" = itemSearch("name = <my custom_name>", "completion = true". The problem is that all the items that have this DoD set as Not Applicable return as if they were true.
When I go to the item, a N/A DoD is indeed check as it was done (true), but is is shown differently with an * and the N/A literal. So the information is there somewhere, I just need to know how to get it via JQL.
Any hints?
EDIT:
What I needed was very simple, just to add a status check inside the itemSearch
AND ( ( "Definition of Done" = itemSearch("name = UT created", "status = notApplicable") ) )