I am developing a bitbucket plugin and for that I need to get the last committed date for a given repository by a given user. Is there anyway we can do that without using REST API?
I think we might be able to use ScmCommandFactory. But I could not find a good example on how to use it. I would really appreciate if someone could help me in this.
Hi Manushi you can do this by using the
See below for an example.
Page<Commit> page = builderFactory.builder(repository).log()
I hope this helps.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs