Bad response when Editing comment 7566463 - 400

Originally asked by Joanna Kwiatek Tokarz on 17 November 2020 (original question)


Hi All,

I received the following error:

Bad response when Editing comment 7566463 - 400 - response body: VS403664: Unable to update the comment 7566463, you must be a creator of the comment to update it.

Is it related to tool configuration itself or is it Exalate restriction?


Answer by Joanna Kwiatek Tokarz on 19 November 2020

We don’t have issue.comments = commentHelper.mergeComments(issue, replica) in our code segment.

But we have --> workItem.comments = commentHelper.mergeComments(issue, replica)

Can you please get the confirmation if we can do same for workItem.comments to solve the issue.


Answer by Juan Grases on 17 November 2020

Hi, one way to avoid this error is not using on your azure incoming script:

issue.comments = commentHelper.mergeComments(issue, replica)

but instead use:

issue.comments += replica.addedComments

Comments:

Joanna Kwiatek Tokarz commented on 18 November 2020

We don’t have issue.comments = commentHelper.mergeComments(issue, replica) in our code segment.

But we have --> workItem.comments = commentHelper.mergeComments(issue, replica)

Can you please get the confirmation if we can do the same for workItem.comments to solve the issue.

Answer by Samuel Bartolome on 17 November 2020

It looks to me a permissions issues in your Jira instance(s), Add Comment