-
Bug
-
Resolution: Fixed
-
High
-
3.2.8, 3.13.0
-
2
-
Severity 2 - Major
-
42
-
This is affecting the SAC migration to Automation for JIRA (talk to Shane Frensley for more details).
The problem is that comments added to servicedesk issues never get marked with INTERNAL, even if the comment property 'sd.public.comment' is correctly supplied with
{"key":"sd.public.comment","value":{"internal":true}}
.
The problem is that when you call JIRA's
commentService.create(loggedInUser, commentResult, false);
then the comment will not be marked as 'INTERNAL' even if the comment property was set correctly.
The specific problem here is the third param false (which stops this from dispatching an event/notification). If it's set to true then the comment is marked as INTERNAL.
For full details I can give you access to https://codebarrel.atlassian.net/servicedesk/customer/portal/1/CBS-1288 or speak to Shane.
- is related to
-
JIRAAUTOSERVER-606 The send notification checkbox under action "comment on issue" is greyed out
-
- Gathering Impact
-
- is caused by
-
JSDECO-58 Comments not marked as internal when dispatchEvent boolean param is set to false
- Done
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- was cloned as
-
JSDS-7410 Loading...
Form Name |
---|
tk1444722874
Looking in Adaptavist documentation for Scriptrunner recommend to use a internal implementation from JSM (former JSD) ServiceDeskCommentService object to create the comment instead of using CommentManager entity.
https://library.adaptavist.com/entity/create-a-comment-on-a-jira-service-desk-ticket-in-groovy
The example is very straightforward and might help you