Query work items not approved by anyone
One answer
Did you look at the query condition "Approval Descriptors"? One of the options is Cumulative State.
I just created a simple query that looks for Approval Descriptors > Cumulative State is Pending and it found a work item to which I had added an approval (that had not been processed). It did not return items that had no approvals nor items that were approved or rejected. It did return items that had multiple approval where at least one was Pending.
Is this what you are looking for?
Comments
Millard Ellingsworth
FORUM ADMINISTRATOR / JAZZ DEVELOPER Feb 11 '13, 6:21 p.m.Do you mean items that carry no approvals at all? Or the case where all approvals are pending approvals (neither rejected nor approved yet)?
mark byrd
Feb 12 '13, 7:42 a.m.I mean a situation where I've customized operation behavior to require approvals for code delivery, where I require a work item to be approved by 1 person that's been assigned the approval role. A developer will request approval from multiple people with the approval role. I want to query and find work items where no one has approved the work item. I guess that could also be stated as "where all approvals are pending approvals (neither rejected nor approved yet)".
mark byrd
Feb 13 '13, 9:39 a.m.I notice that the "quick Information" section of a work item has an approval's approved, rejected, pending counts. Can a query access that info?