Insight workspaceId in JSM Cloud via REST API

Hi Team,

I’m developing JSM Cloud plugin on Atlassian Connect Express. I need to get some data from Insight workspace. To fetch it I need a workspaceId param. The olny way decribed in documentation is /rest/servicedeskapi/insight/workspace, but here is note that “Connect apps cannot access this REST resource.”. Attempts to reach this endpoint ended in failure as expected (error 403 forbidden). But I can easely reach this endpoint by Postman, just added Basic auth header. I tried to make simmilar request from frontend, but it has blocked by CORS policy. Is there any way to get workspaceId via REST API?

Thanks!

@veloti,

No. I confirm JSM Apps cannot access the Insight REST API at this time.