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}"}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.