Library package usages

Is there a way to determine every release where a library package is used? Or every project that references that package in step?

Hi @christopher.newton ,

Thanks for reaching out.

You can definitely achieve both of these using API calls.

While we don’t have any premade scripts that do exactly this, this one might be a good starting place: OctopusDeploy-Api/GetListOfPackagesPushedToSpecificEnvironment.ps1 at master · OctopusDeploy/OctopusDeploy-Api · GitHub

Please thoroughly read and test any scripts on our repo before using them in production as theyre not guaranteed to work in every scenario.

Please let me know what you think.

Thanks,
Jeremy