Forum Discussion

katieh's avatar
New Contributor
4 years ago

Assign Review Pool JSON API



I'm trying to use the JSON API to assign a review pool to a role in a review


here is my call:

{"command": "ReviewService.assignReviewPool",

"args" : {

    "reviewId" : "123"

    "assignment" : {

        "poolGuid" : "123456abcdef"

        "role" : "REVIEWER"




And this is the response it returns:


{"errors": [{"code": "ReviewPoolNotFound", "message": "No review pool assignments with Group guid "123456abcdef" and Role REVIEWER were found in Review 123, or the given user does not have the right group membership to get that assignment"}]}


I've double checked the group guid and the role, both seem to be correct. I'm also pretty sure I should have the correct permissions to execute this, I am able to assign the group to the role from within the GUI


Is there something wrong with how I am making this call? 



2 Replies

  • katieh's avatar
    New Contributor

    I think I figured it out, the assignReviewPool function does not work but updateAssignments with poolGuid did

    • Chanelle's avatar
      Occasional Visitor

      Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread.