...
Code Block |
---|
addJSDComment(key, currentUser(), "you can't see me", false, true); |
Note |
---|
In newer versions of Service Desk, the API responsible for the dispatchEvent attribute was deprecated, and Atlassian doesn't use this parameter in newer versions. Please don't use this property for this method. This means you should not be using the last attribute ("true") in this example. Thus, your code should look like this: Code Block |
---|
addJSDComment(key, currentUser(), "you can't see me", false); |
|
Code Block |
---|
addJSDComment(key, currentUser(), "you can't see me", false, false); |
Adds a comment on the current issue, on behalf of the current user, viewable only by internal users. The commentAdded event will not be dispached.
Note |
---|
In newer versions of Service Desk, the API responsible for the dispatchEvent attribute was deprecated, and Atlassian doesn't use this parameter in newer versions. Please don't use this property for this method. This means you should not be using the last attribute ("false") in this example. Thus, your code should look like this: Code Block |
---|
addJSDComment(key, currentUser(), "you can't see me", false); |
|
Filter by label (Content by label) |
---|
showLabels | false |
---|
cql | label in ("ps_routines","jsd_routine") |
---|
labels | jira_comment_routine |
---|
|