Prune icon indicating copy to clipboard operation
Prune copied to clipboard

Advanced searches not picked up as dependencies

Open FennaT opened this issue 2 years ago • 3 comments

When running Prune against Computer Groups it will list groups as unused even when they have an advanced search as a dependency. This also happens for bookmarks that are scoped using a smart group.

I understand it is not best practice to use smart groups in advanced searches, as calculations can instead be done in the search directly. However, we do have historic use of this sadly.

It does not pose a significant issue, although Prune will display a message at the end stating "X items could not be deleted", which may cause confusion.

FennaT avatar Oct 27 '22 07:10 FennaT

Check v2.3.0, hope that meets your needs. Bookmarks aren't available via the API, suggest making a feature request (ideas.jamf.com) to add a bookmarks API endpoint.

BIG-RAT avatar Nov 16 '22 04:11 BIG-RAT

It does indeed. Thanks for actioning this! Good shout, I'll put an FR in.

TobyFenna avatar Nov 17 '22 15:11 TobyFenna

One has previously been raised, way back in 2018, but sadly still no action: https://ideas.jamf.com/ideas/JN-I-17187

Anyone reading, go give it some love, please 👍

FennaT avatar Nov 17 '22 15:11 FennaT