René's URL Explorer Experiment


Title: feat(jsm): add Atlassian Assets (Insight/CMDB) tools for asset management by waleedlatif1 · Pull Request #5072 · simstudioai/sim · GitHub

Open Graph Title: feat(jsm): add Atlassian Assets (Insight/CMDB) tools for asset management by waleedlatif1 · Pull Request #5072 · simstudioai/sim

X Title: feat(jsm): add Atlassian Assets (Insight/CMDB) tools for asset management by waleedlatif1 · Pull Request #5072 · simstudioai/sim

Description: What Adds nine JSM Assets (Atlassian Assets / Insight / CMDB) tools to the existing Jira Service Management integration, so workflows can read and write Atlassian Assets objects. This is the foundation for keeping JSM asset tables in sync (software/hardware asset management). Tools Tool API jsm_list_object_schemas GET /objectschema/list jsm_get_object_schema GET /objectschema/{id} jsm_list_object_types GET /objectschema/{id}/objecttypes jsm_get_object_type_attributes GET /objecttype/{id}/attributes jsm_search_objects_aql POST /object/aql (paginated) jsm_get_object GET /object/{id} jsm_create_object POST /object/create jsm_update_object PUT /object/{id} jsm_delete_object DELETE /object/{id} How Each tool proxies through an internal route (matching every other JSM tool) that resolves the Jira cloudId and the Assets workspaceId, then calls the Assets API via the OAuth 2.0 (3LO) gateway form: https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/{workspaceId}/v1/... — consistent with getJsmApiBaseUrl. workspaceId is discovered via GET /rest/servicedeskapi/assets/workspace (uses the already-granted read:servicedesk-request scope). All nine operations are wired into the jira_service_management block (dropdown, subBlocks with conditions/required, tools.access, tool() selector, params() mapping, outputs, inputs). OAuth scopes added (jira provider) read:cmdb-object:jira, write:cmdb-object:jira, delete:cmdb-object:jira, read:cmdb-schema:jira, read:cmdb-type:jira, read:cmdb-attribute:jira — each with a description in SCOPE_DESCRIPTIONS. Validation tsc clean, biome clean, check:api-validation passes (route baseline bumped 828→837). Every endpoint, field name, response shape, and scope string verified against the live Atlassian Assets docs. Notes Assets object attachments (file upload/download on objects) are a separate endpoint group and are intentionally out of scope here — none of these tools take file inputs. ⚠️ Smoke-test against a live Assets workspace before relying on AQL: the docs publish CMDB scopes for 3LO and POST /object/aql carries no OAuth exclusion (unlike the removed GET /aql/objects), but a real-token check is wise. Pre-merge verification gates (do not skip) Static validation is complete (tsc/biome/api-validation green; spec parity + internal semantics verified by multiple passes; 4 clean review rounds). The following require a live JSM+Assets instance and are not certifiable from code: Scope grant — confirm the Sim production Atlassian OAuth app has the Assets/CMDB scopes enabled in the Developer Console, then reconnect JSM and verify the issued token carries read:cmdb-object:jira (and write/delete for mutations). The 6 scope strings are verified correct and documented as OAuth 2.0 (3LO)-grantable, but enabling them on the registered app + user re-consent is an operational step. AQL smoke test — run jsm_search_objects_aql against a real workspace and confirm POST /object/aql returns results over 3LO (the deprecated GET /aql/objects was OAuth-blocked; the replacement is documented as accessible, but worth one live call). Base-URL — confirm one read call succeeds via the /ex/jira/{cloudId}/jsm/assets/... gateway host. Re-consent note — existing JSM connections must reconnect to pick up the new scopes.

Open Graph Description: What Adds nine JSM Assets (Atlassian Assets / Insight / CMDB) tools to the existing Jira Service Management integration, so workflows can read and write Atlassian Assets objects. This is the founda...

X Description: What Adds nine JSM Assets (Atlassian Assets / Insight / CMDB) tools to the existing Jira Service Management integration, so workflows can read and write Atlassian Assets objects. This is the founda...

Opengraph URL: https://github.com/simstudioai/sim/pull/5072

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ef65b2cf-340d-f1f6-d036-bcc1ec8dc430
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC04C:15C1BD:AC7FA:F0E92:6AFB45DF
html-safe-nonce8fc376744d710bfeae80f4e8a483717feb7f4909ba83ec93522308e377a428ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDRDOjE1QzFCRDpBQzdGQTpGMEU5Mjo2QUZCNDVERiIsInZpc2l0b3JfaWQiOiI2NjQxMTE2NzMyNTQwNTM2Mjg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac42955d5ec55812c18463a6e1b8a7a77e9ff6114681f70df8d8845e9e45b5faae
hovercard-subject-tagpull_request:3871617309
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5072/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altWhat Adds nine JSM Assets (Atlassian Assets / Insight / CMDB) tools to the existing Jira Service Management integration, so workflows can read and write Atlassian Assets objects. This is the founda...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5072/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5072%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5072%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5072/files
Reloadhttps://github.com/simstudioai/sim/pull/5072/files
Reloadhttps://github.com/simstudioai/sim/pull/5072/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/jsm-assets-toolshttps://github.com/simstudioai/sim/tree/feat/jsm-assets-tools
Conversation 25 https://github.com/simstudioai/sim/pull/5072
Commits 5 https://github.com/simstudioai/sim/pull/5072/commits
Checks 14 https://github.com/simstudioai/sim/pull/5072/checks
Files changed https://github.com/simstudioai/sim/pull/5072/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5072/files
feat(jsm): add Atlassian Assets (Insight/CMDB) tools for asset management https://github.com/simstudioai/sim/pull/5072/files#top
Show all changes 5 commits https://github.com/simstudioai/sim/pull/5072/files
131d2a7 feat(jsm): add Atlassian Assets (Insight/CMDB) tools for asset manage… waleedlatif1 Jun 15, 2026 https://github.com/simstudioai/sim/pull/5072/commits/131d2a773c44f53dcb9ff7d7d5a59ae8563f97f4
94c7430 refactor(jsm): harden Assets param coercion and response typing waleedlatif1 Jun 15, 2026 https://github.com/simstudioai/sim/pull/5072/commits/94c74305fdbc6103461d3b06ff03d8e6a875ca93
5539c1b fix(jsm): validate Assets workspaceId and honor `last` pagination flag waleedlatif1 Jun 15, 2026 https://github.com/simstudioai/sim/pull/5072/commits/5539c1beca18d39df7a60190e3fdb4e772837fcd
e7054cd feat(jsm): allow overriding the auto-resolved Assets workspace waleedlatif1 Jun 15, 2026 https://github.com/simstudioai/sim/pull/5072/commits/e7054cd5bb156d601700aac131270788c9f8ffca
3933d55 refactor(jsm): include Assets responses in the JsmResponse union waleedlatif1 Jun 15, 2026 https://github.com/simstudioai/sim/pull/5072/commits/3933d55b584bd6d382a33cb20bfaf212ac2292f2
Clear filters https://github.com/simstudioai/sim/pull/5072/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5072/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5072/files
jira_service_management.mdx https://github.com/simstudioai/sim/pull/5072/files#diff-a09ff066117ac151829be37b496b8d1858973d856b568803fff1ecc811eaeab5
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-eaefbd33cac5824ed3fa8175f0b6c3193eea556f5f443a4bbcaa2a535131d930
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-617f67bbbda6cbe8aa6f721f33c056a53ae676385c342931704c81d56697291b
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-90da25587a2f6d75da6cf26ea931cd732ecdff567d16afa3d3d6b6c1c6638c63
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-4be71c05f3ab8c57513e9ee108623d5367163018b39804d73ae59fc6424e7deb
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-b1c8bb9d61c742378cb9defbb8de731a94c58dde16ffc2ac9e1176ab94ea1843
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-f7e1722a4c6b817ea38147a122bb7758815462c0be420e3248ab7e43a31022a0
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-324b7675e1c1978c7758d82650906c5b47ee35eabbf2977435dd47144a1670cf
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-a03b11414bb2dd65f06e0c8944801db321174d834e31cc4f58409bf7dc7d2ea4
route.ts https://github.com/simstudioai/sim/pull/5072/files#diff-acb9a352c58bf8c8cf94903fd3b134b0ac6d670503c4b7b142f3712cac2853e1
jira_service_management.ts https://github.com/simstudioai/sim/pull/5072/files#diff-42b28ddf07415ad7f84e883d9d81eef4819c6d192a3b0f29004ad42236d19446
jsm.ts https://github.com/simstudioai/sim/pull/5072/files#diff-212e78b62a35746aeab6c3dd25c4a8b7d2721bd526da7ea27c941bbe097f714e
input-validation.ts https://github.com/simstudioai/sim/pull/5072/files#diff-69599ab9ede3d937e027206bfbbaef65edcfeae21ad92d8b3d69fd5d11f8adf6
integrations.json https://github.com/simstudioai/sim/pull/5072/files#diff-0c4cc916562765dac61bd44d1b984d95e44d7901c070e0a3f668474c684d92bd
oauth.ts https://github.com/simstudioai/sim/pull/5072/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
utils.ts https://github.com/simstudioai/sim/pull/5072/files#diff-e036fbd5b48db2c6adae004365c42cf926d0eafaa92e424cf063f4861ce6efbb
create_object.ts https://github.com/simstudioai/sim/pull/5072/files#diff-f7ad093173a115cb52aac4e829d80906d325156dd311753f13ccdec5f43dd58c
delete_object.ts https://github.com/simstudioai/sim/pull/5072/files#diff-d6f8829559f357149ab4159e13d238c63936fff7b1761e811f706588d3c30d3b
get_object.ts https://github.com/simstudioai/sim/pull/5072/files#diff-cd509b4e097448811307a663b0d5324f335ec1bf733e9f59230508e1ac2c0418
get_object_schema.ts https://github.com/simstudioai/sim/pull/5072/files#diff-907c01a4bf09ba7738f87cf879b269222b359bc2c05614268255bf7c4f1197ed
get_object_type_attributes.ts https://github.com/simstudioai/sim/pull/5072/files#diff-c1b6365c9df988bb496d468da4e533a032833c9d6aed7c8a8b4b16c4e63b2e4a
index.ts https://github.com/simstudioai/sim/pull/5072/files#diff-0fa82824f380c2e086c43aae3212952873101e762734104049542087e0a7e72f
list_object_schemas.ts https://github.com/simstudioai/sim/pull/5072/files#diff-1ff5a8bff59e0fde21b95961e4048cf663d5c896fe399c223ca73820c2d685a5
list_object_types.ts https://github.com/simstudioai/sim/pull/5072/files#diff-037382ab1635f85ab45c4c5ba8c6c439713573fbfee18eeac0e285d6c0e61d8b
search_objects_aql.ts https://github.com/simstudioai/sim/pull/5072/files#diff-066acd8463c3cc6649641d7e4367d85f7a6912775a554ee2850b93b608785da8
types.ts https://github.com/simstudioai/sim/pull/5072/files#diff-fa779fb79482f7670e31db7d931f5cf871a24ec0a0406c87d5475783a574c095
update_object.ts https://github.com/simstudioai/sim/pull/5072/files#diff-63f2240e971a3c9af84222959121aa94c6ce9da290110bbd72cfcad2e6095042
utils.ts https://github.com/simstudioai/sim/pull/5072/files#diff-95d960fba93483bc54681cbc7a8d8af08796d6edf3e58474f332aa7b96cd2a19
registry.ts https://github.com/simstudioai/sim/pull/5072/files#diff-a05e54887bf05477726b00df4183dd4a3fa0fd1f82b867bbf156e1b6a6d7e3fa
check-api-validation-contracts.ts https://github.com/simstudioai/sim/pull/5072/files#diff-48ae6a4d0c1f820d5b644522d25742bb29af758bc8350f1a3cf3f8afa0bd00b0
apps/docs/content/docs/en/integrations/jira_service_management.mdxhttps://github.com/simstudioai/sim/pull/5072/files#diff-a09ff066117ac151829be37b496b8d1858973d856b568803fff1ecc811eaeab5
View file https://github.com/simstudioai/sim/blob/3933d55b584bd6d382a33cb20bfaf212ac2292f2/apps/docs/content/docs/en/integrations/jira_service_management.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5072/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5072/files#diff-a09ff066117ac151829be37b496b8d1858973d856b568803fff1ecc811eaeab5
https://github.com/simstudioai/sim/pull/5072/files#diff-a09ff066117ac151829be37b496b8d1858973d856b568803fff1ecc811eaeab5
apps/sim/app/api/tools/jsm/assets/attributes/route.tshttps://github.com/simstudioai/sim/pull/5072/files#diff-eaefbd33cac5824ed3fa8175f0b6c3193eea556f5f443a4bbcaa2a535131d930
View file https://github.com/simstudioai/sim/blob/3933d55b584bd6d382a33cb20bfaf212ac2292f2/apps/sim/app/api/tools/jsm/assets/attributes/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5072/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/5072/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5072/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.