I look for the table, where i could find all the commits in pull request with the authot of commits and date.
Hello!
Commits are not stored in the database.
Git is a file based system. When you have a repository on your local PC all information about branches and commits are stored in the .git directory.
The same goes for Bitbucket. Bitbucket stores all you repositories in the server storage.
Luckily Bitbucket has a REST API that can be used for getting PR information. Take a look at this one, it might be what you need. Get pull request commits. It returns a list of commits with the authors.
IF I understood you correctly, then it is impossible to get data about the commit and its author using sql query?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Indeed. Because commits are not in the SQL database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm, commits are on the database. Using PR_ID i could find all the commits in the pull request in the table BB_PR_COMMIT...and the challenge of author the commits, in the case the author of pull request and commits differ..:(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.