@groovy.transform.InheritConstructors abstract class AbstractCreateCommentDelegate extends AbstractCommentDelegate
Fields inherited from class | Fields |
---|---|
class AbstractCommentDelegate |
issue, projectRoleManager |
Constructor and description |
---|
AbstractCreateCommentDelegate() |
Type Params | Return Type | Name and description |
---|---|---|
|
abstract void |
internal() Sets the visibility of the comment to be internal, this will only have an effect in a Jira Service Management project. |
|
void |
setGroupRestriction(java.lang.String groupName) Restrict the visibility of the comment to members of a group. |
|
void |
setProjectRoleRestriction(java.lang.String projectRoleName) Restrict the visibility of the comment to members of a project role. |
|
void |
setProjectRoleRestriction(com.atlassian.jira.security.roles.ProjectRole projectRole) Restrict the visibility of the comment to members of a project role. |
Methods inherited from class | Name |
---|---|
class AbstractCommentDelegate |
handleGroupRestriction, handleProjectRoleRestriction, setGroupRestriction, setProjectRoleRestriction, setProjectRoleRestriction, throwDuplicateVisibilityRestrictionException, throwIfServiceDeskIssue |
Sets the visibility of the comment to be internal, this will only have an effect in a Jira Service Management project.
Restrict the visibility of the comment to members of a group.
groupName
- the name of the group that will have visibility of the commentRestrict the visibility of the comment to members of a project role.
projectRoleName
- the name of the project role that will have visibility of the commentRestrict the visibility of the comment to members of a project role.
projectRole
- the project role that will have visibility of the comment