Forum Discussion

vasilenicusor's avatar
vasilenicusor
New Contributor
2 years ago

Create System Message from JSON API

Hello, 

Is there a possibility to add a comment to review to be displayed as System Message? 

Currently I use the ReviewService.createReviewComment method but is displayed in the User Messages section from review chat.

Why we need this? To add comments from triggers side as automated process validation.

[
    {
        "command": "SessionService.authenticate",
        "args": {
            "login": "{{collab_dev_admin_user}}",
            "ticket": "{{collab_dev_admin_token}}"
        }
    },
    {
        "command": "ReviewService.createReviewComment",
        "args": {
            "reviewId" : {{collab_dev_reviewID}},
            "comment" : "This is a System message",
        }
    }
]

 Thank you for support.

No RepliesBe the first to reply