I have a script for using the VSTS api to generate a log of commits between two different versions, however the response from the VSTS api returns the comments as truncated. This is the most important part of the log for my purposes and as such would like to receive the comments in full from the api.
The response comes back like this:
I could obviously loop through each commit Id and get the full comments by calling the api for each of these Ids, but as this script will be part of our release process I want it to be as quick as possible, and all those extra calls would add unnecessary time to the script.
From what I can see there is no way to get the full comments when getting the list of commits, but I'm hoping someone out there can help me with this?
Thanks
Adding the max comment length parameter to some high value did it for me: _apis/tfvc/changesets?maxCommentLength=1000
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With