Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Azure DevOps max comment characters to api limit #1585

Merged
merged 1 commit into from
Jun 22, 2021
Merged

Set Azure DevOps max comment characters to api limit #1585

merged 1 commit into from
Jun 22, 2021

Conversation

mhennecke
Copy link
Contributor

Azure DevOps comment character limit is 150.000

This limit is undocumented. However, posting a large comment via the rest api leads to a bad request with following message:
"message": "A discussion comment cannot be longer than 150000 characters.\r\nParameter name: comment.Content"

@mhennecke mhennecke marked this pull request as ready for review May 18, 2021 12:53
@mhennecke mhennecke requested a review from a team as a code owner May 18, 2021 12:53
@chenrui333
Copy link
Member

Thanks @mhennecke!

@chenrui333 chenrui333 merged commit b9802f7 into runatlantis:master Jun 22, 2021
@mhennecke mhennecke deleted the set-azdo-comment-length branch June 25, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants