Hello,
I know that the Rovo is currently not be able to access the Asset Data, so I'm exploring the way to achieve this through Forge App and using the Rest API
But I'm encountering the permission with "Scope does not match" when calling API even I include this in permission scope
// Query Jira Assets
const assetsResponse = await api.asUser().requestJira(route`/jsm/assets/workspace/{{myworkspace}}/v1/object/aql"`, {
method: "POST",
redirect: 'manual',
headers: {
"Content-Type": "application/json",
"Accept": "application/json"
},
body: JSON.stringify({"qlQuery": 'objectType="Employee"'})
});
My scope of permission:
permissions:
scopes:
- read:jira-user
- read:cmdb-object:jira
- write:jira-work
- read:cmdb-schema:jira
- read:jira-work
- read:servicedesk-request
The Rovo agent is working fine with the other scope like reading comments of the issue, but not cmdb-object.
Has anyone been experiencing or known any solution for this? Thank you so much.
I got the issue, it was due redundant characters at the end of the api endpoint
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.