Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Rovo Forge App with JSM Asset

Zohaib
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 25, 2025

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. 

1 answer

1 accepted

0 votes
Answer accepted
Zohaib
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 25, 2025

I got the issue, it was due redundant characters at the end of the api endpoint

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events