grokability / jamf2snipe

Import and sync assets from a JAMFPro instance to Snipe-IT asset management.
MIT License
109 stars 55 forks source link

Continue with Missing Serial #85

Closed ParadoxGuitarist closed 2 years ago

ParadoxGuitarist commented 2 years ago

Jamf can sometimes report "None" type or 'Not Available' for assets that are enrolled in MDM but have yet to actually check in and this can cause the script to error.

This just ungracefully continues on those objects if the SN is missing from the payload.

ParadoxGuitarist commented 2 years ago

Full disclosure,

I barely remember writing this. It would be probably good to have someone test it. :sweat_smile: