Skip to main content
JSM Assets (formerly Atlassian Insight) is the asset management layer inside Jira Service Management. When a tech confirms an asset’s location in Forager, this integration updates the matching Insight object — so your CMDB reflects physical reality, not just what was imported months ago. Choose this approach if your team tracks configuration items in JSM Assets and wants location data to stay current from normal field work without a dedicated inventory project.

What happens


JSM Assets setup

Step 1 — Create an API token

  1. Go to id.atlassian.com/manage-profile/security/api-tokens
  2. Click Create API token
  3. Label it Forager Integration and copy the token — you won’t see it again
Use a service account email if your organization has one. If not, use the admin email that owns the JSM project.

Step 2 — Add Forager attributes to your object type

JSM Assets uses a flexible schema — you define the attributes on each object type. You need five attributes to store Forager data.
  1. Go to your JSM project → Assets in the left nav
  2. Open Object Types → select the type that holds your assets (e.g. Hardware, Medical Device)
  3. Click AttributesAdd attribute for each:
  1. For each attribute, note its Attribute ID — you’ll see it in the URL when you click on the attribute row (e.g. …/attribute/47). You need these IDs in the proxy configuration.
If your object type already has a Location attribute, use it — don’t create a duplicate. Just note its existing ID.

Step 3 — Find your workspace ID

  1. In JSM Assets, click the gear icon → Workspace settings
  2. Your workspace ID appears in the URL: …/assets/workspace/WORKSPACE_ID/…
  3. Copy it — you’ll need it for the proxy and API calls

Proxy deployment

The proxy receives Forager’s webhook, runs an AQL query to find the Insight object, and updates its attributes.

Create api/forager.js

Environment variables

Create a .env file for local testing (never commit):

Deploy to Vercel

Add all environment variables in Project → Settings → Environment Variables.

Forager configuration

  1. Go to Dashboard → Settings → WebhooksAdd Webhook
  2. Fill in:

Testing

Expected response:
Then open the Insight object in JSM Assets and verify the Location, Last Confirmed By, and Last Confirmed At attributes were updated.

Troubleshooting


Customizing the AQL query

The default AQL assumes your objects have an attribute named exactly Asset Tag. If your schema uses a different name (e.g. Asset ID, CI Tag), update the query:
You can also scope the query to a specific object schema to improve performance:

What your team gains

JSM Assets becomes a live record of physical asset locations — updated as a side effect of normal field work, not a dedicated inventory project. Your ITSM tickets automatically have accurate location context, reducing the back-and-forth between biomedical engineers, IT, and facilities when a device needs to be tracked down.