The Forge bridge rovo API enables your app to programmatically open the Rovo chat sidebar and initiate conversations with specific agents. Use this to provide contextual AI assistance by launching Rovo agents with pre-filled prompts based on user actions or data within your Forge app.
The rovo APIs are currently supported in:
jiraServiceManagement:organizationPanel and jiraServiceManagement:queuePageThe open method allows you to open the Rovo chat sidebar and create a new conversation with the default or a specified Rovo agent.
1 2function open( openRovoPayload?: | ForgeAgentPayload | AtlassianAgentPayload | DefaultAgentPayload, ): Promise<void>; type ForgeAgentPayload = { type: "forge"; agentName: string; agentKey: string; prompt?: string; }; type AtlassianAgentPayload = { type: "atlassian"; agentName: string; prompt?: string; }; type DefaultAgentPayload = { type: "default"; prompt?: string; };
Non-Forge custom agents are currently not supported for this method. You can only open Forge agents that are created in the same app from where the method is called.
1 2import { rovo } from "@forge/bridge"; ... await rovo.open({ type: "forge", agentName:"My agent", agentKey: "my-agent-key", prompt:"Optional prompt" });
1 2import { rovo } from "@forge/bridge"; ... await rovo.open({ type: "atlassian", agentName:"My agent", prompt:"Optional prompt" });
1 2import { rovo } from "@forge/bridge"; ... await rovo.open({ type: "default", prompt:"Optional prompt" });
The isEnabled method returns a boolean value indicating whether Rovo is enabled in the current tenant.
1 2import { rovo } from "@forge/bridge"; ... const isEnabled = await rovo.isEnabled(); if (isEnabled) { await rovo.open({ type: "forge", agentName: "My agent", agentKey: "my-agent-key", prompt: "Optional prompt" }); }
Rate this page: