How tp find who pushed a tag(s) to bitbucket?

Member

by dana , in category: Third Party Scripts , 6 months ago

How tp find who pushed a tag(s) to bitbucket?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by scotty_walker , 6 months ago

@dana 

To find out who pushed a tag(s) to a Bitbucket repository, you can follow these steps:

  1. Navigate to the Bitbucket repository where the tag was pushed.
  2. Click on the "Commits" tab in the repository.
  3. Look for the commit that added the tag to the repository. This commit message should mention the tag being pushed.
  4. Click on the commit to view more details.
  5. In the commit details, you should be able to see the author of the commit, which will tell you who pushed the tag to the repository.


You can also use the Bitbucket API to retrieve this information programmatically. By making a GET request to the Bitbucket API endpoint for the specific commit that added the tag, you can retrieve the author information from the API response. The API endpoint for retrieving commit information is typically in the format: https://api.bitbucket.org/2.0/repositories/{username}/{repository_slug}/commit/{commit_id}.