For instance, this request:
let res = await api.asUser().requestJira(route`/jsm/assets/workspace/${workspaceId}/v1/importsource/${importId}/configstatus`);
It works just fine for AssetsImportType module, but I'm getting 403 forbidden, when I try running it in other forge modules. I understand that workspaceId & importId are provided within AssetsImportType module's extensionContext. However, lets say, when I provide them "manually" for some other module isn't it supposed to work too?
Also I have managed to run the same request using fetch() just fine. However I need to provide the basic auth for that manually. Also first I have to create request fetch("
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.