With the code
def dispatchEvent = true
def properties = [(SD_PUBLIC_COMMENT): new JSONObject(["internal": true])] commentManager.create(issue, user, "comment text", null, null, new Date(), properties, dispatchEvent)
it is possible to create an internal comment in a service desk project that is marked with "internal" on the right side of the comment.
Setting "dispatchEvent" to false negates that and the comment is no longer marked as "internal" (the box on right side is missing) - however the comment is not showing up in the customer portal, therefore it is still internal (just the box is missing).
Has anyone else encountered this?
Or event better: does anyone have a workaround ;)
thanks
Thomas
I have the same problem. Has anyone found a solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.