-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: API and Integrations
-
None
-
0
Issue Summary
Webhook Body does not include an indicator if the comment from a Service Desk request is public or internal.
Steps to Reproduce
- Enable webhook for comment added.
- Open JIRA Service Desk project issue.
- Add an internal comment
Expected Results
The webhook body should include if the comment added is internal or not.
Actual Results
The below is what seen, without indicator if it is a public/internal comment
{"timestamp":1570417282898,"webhookEvent":"comment_created","comment":{"self":"http://localhost:47134/j7134/rest/api/2/issue/10230/comment/14401","id":"14401","author":{"self":"http://localhost:47134/j7134/rest/api/2/user?username=admin","name":"admin","key":"admin","emailAddress":"admin@email","avatarUrls":{"48x48":"http://localhost:47134/j7134/secure/useravatar?avatarId=10352","24x24":"http://localhost:47134/j7134/secure/useravatar?size=small&avatarId=10352","16x16":"http://localhost:47134/j7134/secure/useravatar?size=xsmall&avatarId=10352","32x32":"http://localhost:47134/j7134/secure/useravatar?size=medium&avatarId=10352"},"displayName":"admin AWESOME","active":true,"timeZone":"Asia/Kuala_Lumpur"},"body":"test comment webhook internal","updateAuthor":{"self":"http://localhost:47134/j7134/rest/api/2/user?username=admin","name":"admin","key":"admin","emailAddress":"admin@email","avatarUrls":{"48x48":"http://localhost:47134/j7134/secure/useravatar?avatarId=10352","24x24":"http://localhost:47134/j7134/secure/useravatar?size=small&avatarId=10352","16x16":"http://localhost:47134/j7134/secure/useravatar?size=xsmall&avatarId=10352","32x32":"http://localhost:47134/j7134/secure/useravatar?size=medium&avatarId=10352"},"displayName":"admin AWESOME","active":true,"timeZone":"Asia/Kuala_Lumpur"},"created":"2019-10-07T11:01:22.898+0800","updated":"2019-10-07T11:01:22.898+0800"}}
Workaround
Use REST API to see if the comment is internal or not for Service Desk