Forums

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

Can a Rovo agent identify inactive bitbucket branches and delete them in bulk ?

Arun Balu
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!
March 18, 2026

My team is working in multiple repositories and we recently faced a throttling issue in Jenkins where one of the solution requested from service owners was to delete the inactive bitbucket branches. I would like to know if Rovo agent could actually perform this activity. Any guidance would be really helpful!

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
March 19, 2026

I don't know about Rovo, but I think Claude could easily do this.

First, a good prompt is the key, which precisely defines what is "inactive". IMO you could say "List all remote branches that have their latest commit older than one year".

Then, if you confirm that the list is what you expected, a second prompt could be "Delete all these."

I would definitely not give the AI full control without my approval, because there is no "undo" for Git branch deletion.

Suggest an answer

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

Atlassian Community Events