automatic tickets for uncompliant Macs

Jonas_
New Contributor II

Hello together,

I am currently looking for a solution to automatically create tickets when a device becomes uncompliant. We check the compliants with JAMF.
I can have emails sent automatically with Smart Groups, but only to my user.
Would I have to create a service user for this or is there another way?

Many thanks in advance!

Regards,
Jonas

1 ACCEPTED SOLUTION

jamf-42
Valued Contributor II

its kinda a JAMFism.. and im sure there are better ways.. but yes.. create a user for 'compliance', give them minimal privs, edit smart groups, read computers, with a dedicated email, log into jamf with this.. setup the account for smart group alerts, then enable the smart group to send emails. Route these emails via Helpdesk etc. 

This topic has been around for 'a long time', this works, but feels clunky in 2024.. 

View solution in original post

7 REPLIES 7

jamf-42
Valued Contributor II

its kinda a JAMFism.. and im sure there are better ways.. but yes.. create a user for 'compliance', give them minimal privs, edit smart groups, read computers, with a dedicated email, log into jamf with this.. setup the account for smart group alerts, then enable the smart group to send emails. Route these emails via Helpdesk etc. 

This topic has been around for 'a long time', this works, but feels clunky in 2024.. 

Jonas_
New Contributor II

Hi jamf-42,
I have created the user and set up SMTP. The test mails via the “Test Mail Button” arrive, but not for the smart groups...
The check mark for the smart group for the notifications is set via the user, as well as for my user. Unfortunately, neither account receives any mail. 
I have given my service-user all authorizations for a short time, but still no success. 
Do you know where my mistake is?

Thanks in advance!

jamf-42
Valued Contributor II

you've done: 

 

jamf42_1-1725885958616.png

jamf42_2-1725886001636.png

 

Jonas_
New Contributor II

Yes, i did the same steps without success.

jamf-42
Valued Contributor II

your test email, is that the same as your reporting email? maybe your reporting email is getting blocked somewhere

RaGL
New Contributor III

Hi @Jonas_ 

you could also set up Webhooks for the "SmartGroupMembershipChange" for the "Compliance-SmartGroup". You would then be able to receive notifications via Teams for example.

https://www.jamf.com/blog/powerautomate-flow-jamf-pro-microsoft-teams/


AJPinto
Honored Contributor III

Many ticketing systems like Service Now have API connections for Jamf. You establish the API connection, and inventory import from Jamf. Then set the workflow in the ticketing system to generate a ticket if the device meets certain conditions. This is less a Jamf thing and more of a ticketing system thing.