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": []

},

},

```

Workaround
none really
Problem
I'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

🔭 Discovery

Board

💡 Feature Requests

Tags

Policies

Date

12 months ago

Subscribe to post

Get notified by email when there are changes.