Overview
A client-mode connector for a curated ITSM / OT slice of the Jira Service Management Cloud REST API underhttps://YOUR_SITE.atlassian.net, plus Assets object create on https://api.atlassian.com:
BASE_ADDRESS for Service Desk is https://{site}.atlassian.net (no trailing slash; endpoints already include /rest/servicedeskapi/...). Topics use itsm/jira-sm/<object>/<verb>.
Assets object create is not under
/rest/servicedeskapi/. Official Cloud path is https://api.atlassian.com/jsm/assets/workspace/{workspaceId}/v1/object/create. Discover workspaceId via GET /rest/servicedeskapi/assets/workspace on the site. Prefer /jsm/assets/ over deprecated /jsm/insight/.Prefer Hub secrets for tokens and passwords. This template has not been verified against a live Atlassian site. Status remains blocked until an authenticated live smoke succeeds.
Basic Syntax
Events
Auth
OAuth 2.0 (3LO) Bearer — default in the template:- Create an OAuth 2.0 (3LO) app in the Atlassian Developer Console with Service Desk / Assets scopes as needed.
- Obtain an
access_token. - Set connector
BASE_ADDRESStohttps://{site}.atlassian.net. - Pass
access_tokenon the MQTT request payload so headers resolve:Authorization: Bearer {value.json.access_token}
- Store the token in Hub secrets /
GET SECRET. Never commit real credentials.
- Create an Atlassian API token for the integration account.
- Prefer
WITH USERNAME "you@example.com"andWITH PASSWORD GET SECRET "ATLASSIAN_API_TOKEN"onREST_API_CONFIG(remove Bearer header lines if using config Basic).
Example payloads
Create customer request from alarm:BASE_ADDRESS = https://api.atlassian.com):
Deploy notes
- Deploy
JiraServiceManagementRestApi.lotonly (-addRoute). Do not deployhub-metadata.lotas a connector — it exists for Hub /-listTemplates(ADD METADATA+WITH IMAGEbase64). - Hub category: REST API Connectors.
- Doc link: https://docs.coreflux.org/latest/lot-language/routes/rest-api-apps/jira-service-management

