Access and modify bitbucket repos via code


My team has several components as repos on bitbucket. Every sprint, we struggle to update the version of each app (for example from 20.12 to 20.13), which is mentioned in a gradle file placed in the repository root of every component. For this we manually edit the file, commit the changes, push it, cut a new release branch and create a PR. This takes a lot of time for 20+ apps…

To automate this, we thought to create a web page, were we can see all the repos in a list and then just select the ones of which we want the version updated.

Is there any way to do this leveraging the existing Bitbucket API? We plan to use Java & Spring Boot to build it (and React for the front end if relevant).