-
Bug
-
Resolution: Not a bug
-
Medium
-
None
-
3.1.7
As a Portal user X, I'm unable to create a comment using the JSD API as per JSD-1505, only Agents seem able to do this. It seems only users with application access can use the API. Is it expected that Portal users (without groups, having only Customer role membership) don't have that application access and are therefore unable to use the API, bug?
final ServiceDeskCommentCreateParameters publicComment = serviceDeskCommentService.newCreateBuilder() .author(user) .issue(customerRequest.getIssue()) .publicComment(true) .body("This is a public comment") .build(); serviceDeskCommentService.createServiceDeskComment(user, publicComment);
The comment returned is null, there is an embedded error:
You don't have permission to access this Service Desk.
It feels like a bug because, as that same user via Portal I can add such comments.
This is stopping me using the API to create 'guaranteed' Public vs Private comments for Customers / Agents.
- is caused by
-
JSDSERVER-3962 JSD docs need to mention customer context prominently
- Gathering Interest
- is related to
-
JSDSERVER-3897 JSD Component API - need to be able create comments without firing events
- Gathering Interest
- relates to
-
JSDSERVER-1505 Comments added to issues by addons are listed as internal by default
- Closed
-
JSDSERVER-3950 P2 Component API not working for portal users (eg portal lookup by project)
- Closed