Is there a STASH API for getting the list of commits for a user for the past X days or a date range
Hey Tim,
thanks i was able to do it via command line.. i think i will have to create some kind of report by converting this data to an HTML format.
Hi Rahul,
How did you do it? Does your solution work across all projects/repos/branches?
Thanks,
Boris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
Unfortunately there's no REST API for retrieving commits by user at the moment. However, if you don't mind getting your hands dirty with a bit of java plugin development the Stash Java API has a great git command builder API for invoking git commands on the underlying repository. You could get a list of commits by using the git API to invoke a git log command and pass it the --author, --before and --after parameters to filter the output.
cheers,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.