I created a rovo agent via forge CLI to fetch latest commits from bitbucket ( manifest below . ) . But when i try to build an automation in jira , i see that "Rovo Agent" dropdown is disabled and my agent is not available. i did enable rovo dev in my account as well but not sure how to get around this dropdown issue. Can someone please guide ?
permissions:
scopes:
# This is the correct Workspace scope for Bitbucket, now safe since it's a separate app.
- read:repository:bitbucket
modules:
# 1. The Function Module: Links your rovo.js code handler (fetchCommits)
function:
- key: fetch-commits-fn
handler: rovo.fetchCommits
# 2. The Action Module: Defines the tool's schema for the Rovo Agent
action:
- key: fetch-commits-action
function: fetch-commits-fn
name: fetchRecentCommits
description: Fetches all code commits from the Bitbucket 'pitstop' repository within the last 24 hours for incident analysis.
actionType: custom
# 3. The Rovo Agent Module: The Agent definition itself
rovo:agent:
- key: pitstop-agent
name: PitStop Commander
description: An expert incident responder who analyzes code changes.
prompt: |
You are a Site Reliability Engineer (SRE) and a specialist in incident response.
When asked to analyze an incident, you must:
1. Use the 'fetchRecentCommits' tool to get code changes from the last 24 hours.
2. Analyze the commit messages and any available diffs for "risky" keywords (e.g., "migration", "database", "timeout", "config change", "deployment").
3. Summarize the likely root cause and provide a clear, actionable suggestion for immediate next steps.
actions:
- fetch-commits-action # References the key of the action module
app:
runtime:
name: nodejs22.x
memoryMB: 256
architecture: arm64
# CRITICAL: This ID must match the one Forge gave you for the new app!