AP.require('request', function (request) {
request({
url: '!api/internal/repositories/{workspace_name}/{repo_slug}/pullrequests/2/review',
type: 'POST',
contentType: 'application/json',
data: JSON.stringify({
node: '{commit_id}'
})
});
});
Hi Yogesh,
you might get a better chance of someone replying by posting your question in https://community.developer.atlassian.com/
Most internal APIs are locked for apps, I'm not sure they can be used from the client (browser)
Have you tried this endpoint from your app's backend?
The request usually contains a payload like {"status_change":"no_status","node":"{commit_id}"}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.