Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Implement BitBucket Cloud API as Tools #2040

Open
Harsh-2909 opened this issue Feb 7, 2025 · 2 comments
Open

[Feature Request] Implement BitBucket Cloud API as Tools #2040

Harsh-2909 opened this issue Feb 7, 2025 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Harsh-2909
Copy link
Contributor

Harsh-2909 commented Feb 7, 2025

Problem Description

Adding Bitbucket APIs as tools so that Agno can have agentic workflows with Bitbucket Repos, PRs and pipelines.
API Docs: https://developer.atlassian.com/cloud/bitbucket/rest/intro

Would you like to work on this?

Yes, I’d love to work on it!

@Harsh-2909 Harsh-2909 added the enhancement New feature or request label Feb 7, 2025
@Harsh-2909
Copy link
Contributor Author

Harsh-2909 commented Feb 7, 2025

I will start working on this implementation this weekend. Will first see if there is a python sdk for Bitbucket Cloud APIs or should we just integrate the REST API. Found the official one here: https://atlassian-python-api.readthedocs.io/index.html
Also, there are too many APIs, so need to check which ones are the most useful for agentic workflow

@Harsh-2909
Copy link
Contributor Author

Harsh-2909 commented Feb 11, 2025

Ok so after hours of debugging issues with atlassian python api, the conclusion is that it just doesn't work properly with Bitbucket Cloud v2.0 API. After making everything work, i got struck at the JSON serialization issue. The classes from that package are not JSON Serializable. I don't want to implement custom JSON serialization logic for all the different objects.
I will be implementing the Tool with requests making HTTP calls instead of using a package. Should be done in 2 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant