Forums

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

How can I make it so my Rovo Agent has access to read a file on Bitbucket given a link?

luke_twogood
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!
December 30, 2025

Here's a description of the automation I'm working on:
1. trigger on commit created (with various conditions to only grab certain commits)
2. prompt a custom Rovo agent I created to write an analysis of a Java test class given the bitbucket link to the test class
3. publish a confluence page and put the Rovo-generated analysis in the body of the page along with the link to the file on bitbucket
4. transition the corresponding ticket to Done in Jira

Here's my issue: My custom Rovo agent is successfully able to analyze the test class if I go to Confluence, prompt the agent with the Bitbucket link, and then click to insert the AI response into the Confluence page. However, when the custom agent is given the exact prompt with the same link as a step in the automation rather than manually, the agent's response is something like this:

"Unable to access the provided Bitbucket link due to authorization restrictions. Please ensure the link is publicly accessible or provide the source code directly for analysis."

In the automation, I have the Rovo agent connected to my user, so I would think it should have the same permissions both inside and outside the automation. Is there something I'm missing that would make this work as I want it to?

 

EDIT: It turns out the AI agent actually doesn't have access in either place. The only difference was the responses created in the automation were errors, while the responses in the manual prompting were hallucinations/guesses. Still, is there a way I can give my AI agent access to read bitbucket files via a link?

2 answers

1 accepted

1 vote
Answer accepted
Jovana Dunisijevic
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 20, 2026

@Alex Koxaras -Relational- thank you for introducing Rovo Dev to @luke_twogood 

In case you're looking for more support in the future and have specific questions about Rovo Dev, feel free to reach out here as well

https://community.atlassian.com/forums/Rovo-Dev/gh-p/rovo-dev-ai-agents 

 

Dr Valeri Colon _Connect Centric_
Community Champion
February 9, 2026

@luke_twogood I'll add: Right now, Rovo agents can’t fetch or read Bitbucket file contents just from a URL, even if you have access. When it “works” in Confluence, it’s usually guessing based on the filename or context, not actually reading the file. Automations are stricter and surface the permission error instead of hallucinating.

To make this work, you need to pass the file content itself (for example via a Smart Link preview, pasted code, or an automation step that retrieves the file and injects the text). Direct authenticated link access to Bitbucket isn’t supported for Rovo agents yet.

1 vote
Alex Koxaras -Relational-
Community Champion
January 19, 2026

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events