Using a Rovo agent from automation

Hello,
I have created a custom rovo agent with the Rovo forge module which I am instructing to get specific confluence pages contents and Jira tickets via the RestApi , as I am calling the rests like "api.asApp().requestConfluence" and  "api.asApp().requestJira".
Using the agent from the chat and instructing it to get me the pages and tickets, works fine and returns the data.
Then I create an automation in which I am using my agent as instructing it in the prompt to do the same after an event that I simulate. In this case the agent responds with the following:

 

I attempted to fetch the Confluence content and Jira ticket data, but all actions failed due to network or permission issues. Here are the summarized responses for each action:

  1. Fetching Confluence Content:

    • Status: Failed

    • Error: Unable to forward the request. Possible issues include network down, unreachable parent caches, or permission denial.

    •  

  2. Fetching Jira Ticket (REQ-4):

    • Status: Failed

    • Error: Unable to forward the request. Possible issues include network down, unreachable parent caches, or permission denial.

       

 

I tried setting a global scope in the automation rule details, but this didn`t help.

If guess there are some other permissions I need to set somewhere, but not sure where.
Does anyone can help with that ?

1 answer

1 accepted

3 votes
Answer accepted
devpartisan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 21, 2024

@Aleksandar Aleksandrov _Nemetschek Bulgaria_ ,

In future, I think you’ll find the developer community has more experts in the area of Forge, which will help you get better answers, faster.

Can you explain more why you’re using `asApp` instead of `asUser`?

I have tried both asApp and asUser as i was not sure if the problem comes from there. But anyway i found the problem.. It was something wrong with the deployment so re-deploy fixed the wrong agent answer.
Thanks for the advice I will consider the developer community next time.

Like devpartisan likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events