expose the "comment" an approver made inside the Approval Policy payload

eg:
```

"reviews": {

"current": {

"approvals": [{

"author": "some-user",
// Add this
comment: “OVERRIDE because I know better”,
// End Add
…

"session": {

…

"login": "some-user",

"teams": ["Special Group"]

},
…
}],

"rejections": []

},

},

```

Workaroundnone really
ProblemI'm trying to implement a policy where particular privileged approvers could bypass approval rules conditionally. I wanted to implement this using the Comment field on an approval, eg. if the approval was from a user in a particular group, and the comment included the the word "OVERRIDE" (as an example), then it could be evaluated to approve .. unfortunately it turns out the comment is not in the payload ..

Please authenticate to join the conversation.

Upvoters
Status

✅ Completed

Board

💡 Feature Requests

Tags

Policies

Date

Over 1 year ago

Subscribe to request

Get notified by email when there are changes.