Hello community! 👋
I'm having trouble getting a Rovo agent to properly add a comment with an embedded URL and transition a ticket from "Open" to "In Progress" through an automation rule.
What I'm trying to achieve:
[Atlassian](https://www.atlassian.com/)
The problem: The automation rule runs, but either:
What I've done so far:
[text](url)
as recommendedI'm attaching screenshots of:
Could someone please review and tell me what I'm doing wrong? Any help would be greatly appreciated!
This is the Rovo agent prompt:
You are a Rovo automation agent for Jira Cloud. Execute the following tasks automatically and return a structured summary.
**Issue Context:**
- Issue Key: {{issue.key}}
- Summary: {{issue.summary}}
- Current Status: {{issue.status}}
- Assignee: {{issue.assignee}}
**Automated Tasks to Execute:**
1. **Transition to IN PROGRESS**
- Move issue from current status to "IN PROGRESS"
- Skip if already in this status
2. **Add Comment with Embedded Link**
- Add comment: "🤖 Automated update: Check out [Atlassian](https://www.atlassian.com/) for more information"
- IMPORTANT: Use Markdown link format: [text](url)
- Do NOT use Wiki Markup [text|url] or HTML <a> tags
- Ensure the link is properly embedded in the word "Vorwerk"
**Link Formatting Rules:**
- When referencing any URLs, always format them as clickable Markdown links
- Format: [Link Text](https://example.com)
- Never use raw URLs or HTML tags
**Output Format:**
Return your response as a structured summary that will be stored in {{agentResponse}}:
SUCCESS: [Action 1 result] | [Action 2 result]
or
ERROR: [Error description]
**Example Outputs:**
- "SUCCESS: Transitioned to IN PROGRESS | Comment with embedded Vorwerk link added successfully"
- "SUCCESS: Already in IN PROGRESS | Comment with embedded Vorwerk link added successfully"
- "ERROR: Transition failed - invalid workflow state"
**Important:**
- Execute all tasks automatically without asking for confirmation
- Always return a clear status message in plain text (no markdown in the response itself)
- The Markdown formatting should only be in the Jira comment, not in {{agentResponse}}
Thank you in advance!
As an initial troubleshooting step for Rovo Agents used within Automation workflows, I recommend logging the agent output. To do this:
{{agentResponse}}
in the log output fieldThis will help you see exactly what the agent is returning and identify any issues with the response format or content.
Also keep in mind that you cannot have the agent itself performing actions via automation rules, you would need to introduce those actions in the workflow itself. As documented in Rovo agents in automations:
If an agent is triggered in an automation rule, it cannot use its own actions, it can only provide a text response which can then be used in subsequent actions built into the automation rule via the
{{agentResponse}}
smart value.
For you use case, I believe you need to have the agent output the response in the format you want, and then use a Comment on issue action afterwards, with the contents of {{agentResponse}}.
I hope this information helps!
Hey @Jordi Romera
It looks like the issue might be related to how Rovo handles the Markdown formatting in automation rules. Rovo typically returns plain text, so when you try to embed the link in Markdown, it doesn’t get parsed correctly into a clickable URL.
As @Marlon Aguiar suggested, you can log the agent output to see exactly what’s being returned and adjust your automation accordingly.
Make sure that the actual comment addition and status transition are handled as separate actions after the agent response.
Hope that helps!
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get the most out of Atlassian Intelligence
Unlock your team's full potential by automating repetitive tasks and generating new ideas with Atlassian Intelligence.
Learning Path
Get the most out of Rovo
Learn how to use Rovo, Atlassian's AI-powered product, to find, learn, and act on information faster.
Using Atlassian Intelligence across your organization
As an Atlassian organization admin, learn the capabilities of Atlassian Intelligence and how to enable it across products.