Are you using the Deployments feature in Bitbucket? We recently added a feature to Bitbucket which tracks the state of your deployment environments and also tracks the history of each environment. Bitbucket Deployments is built on top of Pipelines, and tracking your deployments is as simple as adding deployment: <environment> to your bitbucket-pipelines.yml file. We currently support deployment tracking for test, staging and production. To find out more about Deployments, check out our documentation.
Once you track your deployments, you can navigate to the 'Deployments' tab in your repository to view all the information about your deployments and your environments. Does this suit your needs?