@PublicApi
public interface RequestParticipantService
ApplicationUser
who participates in a CustomerRequest
Modifier and Type | Method and Description |
---|---|
PagedResponse<com.atlassian.jira.user.ApplicationUser> |
addRequestParticipants(com.atlassian.jira.user.ApplicationUser user,
RequestParticipantUpdateParameters requestParticipantUpdateParameters)
Add a list of
ApplicationUser as participant to a given CustomerRequest . |
PagedResponse<com.atlassian.jira.user.ApplicationUser> |
getRequestParticipants(com.atlassian.jira.user.ApplicationUser user,
RequestParticipantQuery requestParticipantQuery)
Get a page of
ApplicationUser who satisfy the query parameters |
RequestParticipantQuery.Builder |
newQueryBuilder() |
RequestParticipantUpdateParameters.Builder |
newUpdateBuilder() |
PagedResponse<com.atlassian.jira.user.ApplicationUser> |
removeRequestParticipants(com.atlassian.jira.user.ApplicationUser user,
RequestParticipantUpdateParameters requestParticipantUpdateParameters)
Remove a list
ApplicationUser as participant from a given CustomerRequest . |
RequestParticipantQuery.Builder newQueryBuilder()
RequestParticipantQuery.Builder
instance to build RequestParticipantQuery
PagedResponse<com.atlassian.jira.user.ApplicationUser> getRequestParticipants(com.atlassian.jira.user.ApplicationUser user, RequestParticipantQuery requestParticipantQuery)
ApplicationUser
who satisfy the query parametersuser
- the user executing the requestrequestParticipantQuery
- the query parameterApplicationUser
ServiceDeskServiceException
- on errorRequestParticipantUpdateParameters.Builder newUpdateBuilder()
RequestParticipantUpdateParameters.Builder
instance to build RequestParticipantUpdateParameters
PagedResponse<com.atlassian.jira.user.ApplicationUser> addRequestParticipants(com.atlassian.jira.user.ApplicationUser user, RequestParticipantUpdateParameters requestParticipantUpdateParameters)
ApplicationUser
as participant to a given CustomerRequest
. This method will add as many participants
as possible from the provided list (duplication is checked)user
- the ApplicationUser
executing the requestrequestParticipantUpdateParameters
- the update parametersServiceDeskServiceException
- on errorPagedResponse<com.atlassian.jira.user.ApplicationUser> removeRequestParticipants(com.atlassian.jira.user.ApplicationUser user, RequestParticipantUpdateParameters requestParticipantUpdateParameters)
ApplicationUser
as participant from a given CustomerRequest
. If a provided user is a participant,
then he will be removed from the request. If the user is not a participant a ServiceDeskServiceException
will be thrown.user
- the ApplicationUser
executing the requestrequestParticipantUpdateParameters
- the update parametersServiceDeskServiceException
- on errorCopyright © 2021 Atlassian. All rights reserved.