Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to fetch commit messages from bitbucket via json or something so that a project manager can see what the changes are without having to look at the code. If it's possible can you give me some ideas on how to do it.

share|improve this question
bitbucket has an API, did you check it? – Yannis Jul 6 '12 at 14:19
If all you want are commit messages (and you are indeed ok with an "or something" rather than "json"), and you are set on using a user interface for this, why both with an API when you can use hg log or git log / git shortlog?? – haylem Jul 6 '12 at 19:42
Furthermore, if the project manager is non-technical, I doubt commit messages will be interesting. More likely, the manage would be interested in seeing the tickets (which you can also fetch via an API), which you obviously reference in all your commits (you do, do you?). If the project manager is technical, I'd say the hg/git command line or GUI client would do, as I suggested in the previous comment. – haylem Jul 6 '12 at 19:44
up vote 4 down vote accepted

As already mentioned by Yannis in his comment, you can use the Bitbucket API.

The documentation for changesets says that you can use the following URI to get a list of all changesets for a repository:

For example,
(this is the example link from the documentation)

This does return JSON, but I doubt that this is really comfortable to read for a (non-technical?) manager.

--> I guess I'd rather give him the link to the list of commits in Bitbucket's GUI.
IMO it's much easier to read and he doesn't need to look at the code either.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.