Automations
The Microsoft Intune Importer for JSM Assets provides three powerful automation features to help you stay on top of your device fleet health without manual effort.
1. Scheduled Imports
Automatically import your Intune device data into JSM Assets on a recurring schedule — no manual action needed.
How It Works
The app runs a hourly scheduled trigger that checks all configured connections
Each connection can have one or more scheduled hours configured
When the current hour matches a connection's schedule, the import runs automatically
Import results (success or failure) are logged and available in the app
Setting Up a Schedule
Navigate to the Import Settings tab for your connection
Select the hours you want the import to run (e.g., every 6 hours: 00:00, 06:00, 12:00, 18:00)
Save your settings
The next matching hour will trigger an automatic import
What Happens During a Scheduled Import
The app fetches the latest device data from Microsoft Intune
Data is synchronized into your JSM Assets object schema
Compliance summaries, risk scores, and anomaly detection run automatically
If Automation Notifications are configured, errors trigger a webhook notification
If Auto-Issue Creation is enabled, compliance thresholds are checked
2. Automation Notifications (Webhook)
Get notified automatically when scheduled imports encounter errors by connecting a Jira Cloud Automation rule with a webhook trigger.
How It Works
You create a Jira Cloud Automation rule with an Incoming Webhook trigger
You provide the webhook URL and secret in the app settings
When a scheduled import fails, the app sends a notification to your webhook
Your automation rule can then create issues, send emails, post to Slack, or any other Jira Automation action
Setting Up Notifications
Create a Jira Automation Rule:
Go to Project Settings → Automation (or global automation)
Create a new rule with the trigger Incoming Webhook
Copy the webhook URL and note the secret
Configure in the App:
Navigate to the Automations section in the app
Click Set Automation Notification
Enter the Automation URL (the webhook URL from your Jira rule)
Enter the Secret (must match the secret configured in your Jira rule)
Click Save & Test — a test message will be sent to verify the connection
Test the Connection:
The app sends a test message when you save
If successful, you'll see a confirmation message
If the URL is invalid, an error will be displayed (the URL is still saved so you can fix it)
Notification Payload
The webhook sends a JSON payload with the following structure:
Field | Description |
|---|---|
| Description of the error or event |
| The category of the notification (e.g., "Scheduled Import") |
Use Cases
Create a Jira issue when an import fails
Send a Slack notification to your IT team
Send an email to the admin team
Trigger a remediation workflow in another system
For detailed instructions on creating Automation Rules, see the Notifications documentation page.
3. Auto-Create Jira Issues for Non-Compliant Devices
Automatically create Jira issues when the number of non-compliant devices exceeds a configured threshold after each import. This helps your team stay on top of compliance issues and take action quickly.
How It Works
After each import, the app checks the number of non-compliant devices
If the count exceeds your configured threshold, a Jira issue is automatically created
The issue includes a comprehensive compliance report with device details, risk scores, and recommended actions
Smart deduplication prevents duplicate issues from flooding your project
Configuration Options
Setting | Description | Default |
|---|---|---|
Enable/Disable | Toggle auto-issue creation on or off | Disabled |
Threshold | Minimum number of non-compliant devices to trigger issue creation | 10 |
Target Project | The Jira project where issues will be created | Required |
Issue Type | The type of issue to create (e.g., Task, Bug) | First available |
Assignee | Optionally assign created issues to a team member | Unassigned |
Include Device List | Include top 10 highest-risk devices in the issue description | Enabled |
Duplicate Handling | How to handle repeated threshold breaches (see below) | Smart |
Cooldown Period | Hours between creating new issues (cooldown mode only) | 24 hours |
Duplicate Issue Handling Modes
Mode | Behavior |
|---|---|
Smart (Recommended) | If an existing issue is still open, new import data is added as a comment. A new issue is only created when the previous one is resolved. |
Cooldown Period | A new issue is created only after the cooldown period (default: 24 hours) has passed since the last issue was created. |
Always Create New | A new issue is created for every import that exceeds the threshold. ⚠️ Not recommended — may create many duplicate issues. |
What's Included in the Issue
Each auto-created Jira issue contains:
Compliance Summary — Total devices, compliant count, non-compliant count, unknown status
Top 10 Highest Risk Devices — Device name (linked to Assets if available), risk score, risk level, and specific issues detected
Issue Breakdown — Count of each issue type (Not Encrypted, Not AAD Registered, Jailbroken, etc.)
Risk Distribution — Number of devices at High, Medium, and Low risk levels
Risk Score Calculation — Explanation of how risk scores are computed
Recommended Actions — Steps to investigate and remediate compliance issues
Links to JSM Assets — Direct links to your Assets schema and import history
Risk Score Calculation
Each device is assigned a risk score based on the following weighted factors:
Risk Factor | Points |
|---|---|
Non-compliant | +30 |
Jailbroken | +25 |
Not Encrypted | +20 |
Not AAD Registered | +15 |
Aging Hardware (≥3 years) | +10 |
Low Storage (<10 GB) | +5 |
Risk Levels: High (≥40 points) · Medium (15–39 points) · Low (<15 points)
Setting Up Auto-Issue Creation
Navigate to the Automations section in the app
Click Configure Auto-Issue Creation
Toggle Enable Auto-Issue Creation on
Set your Non-Compliant Device Threshold (e.g., 10)
Select a Target Jira Project from the dropdown
Select an Issue Type (e.g., Task, Bug)
Optionally select an Assignee
Choose your preferred Duplicate Handling mode
Click Save Settings
Smart Deduplication in Action
When using Smart mode (recommended):
First breach: A new Jira issue is created with full compliance details
Subsequent imports (issue still open): A comment is added to the existing issue with updated compliance data and timestamp
Issue resolved by team: The next threshold breach creates a fresh new issue
If assignee is unavailable: The issue is created without an assignee (no failure)
Best Practices
Start with scheduled imports — Set up at least one daily import to keep your data current
Enable notifications — Connect a webhook to get alerted about import failures
Set realistic thresholds — Start with a higher threshold for auto-issues and lower it as your compliance improves
Use Smart deduplication — Prevents issue fatigue while keeping your team informed
Assign a team member — Having a default assignee ensures issues don't get lost
Review the Dashboard — Use the Dashboard tab to monitor trends and catch issues early