Details
-
Suggestion
-
Resolution: Unresolved
Description
To be able to build automation to track deployments across large numbers of repos we need the capability to query the appropriate information from the Bitbucket API. The API has an endpoint for deployments but the endpoint is not filterable except for an undocumented “state.name” filter.
API Documentation:
[https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/deployments/([https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/deployments])
Please add filtering capabilities for the following:
- Environment
- Release
Edit: It would be also great to have filtering/sorting capabilities in the environment's endpoint.