@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault @PublicApi public interface ServiceDeskCustomerRequestService
CustomerRequest
CustomerRequestCreateParameters.Builder newCreateBuilder()
CustomerRequestCreateParameters
CustomerRequest createCustomerRequest(@Nullable com.atlassian.jira.user.ApplicationUser user, CustomerRequestCreateParameters customerRequestCreateParameters)
user
- the user exciting the requestcustomerRequestCreateParameters
- the request create parameter.
Refer to RequestTypeFieldService.getCustomerRequestCreateMeta(ApplicationUser, RequestTypeFieldQuery)
on how to construct itCustomerRequest
createdServiceDeskServiceException
- on error@Nonnull CustomerRequestQuery.Builder newQueryBuilder()
CustomerRequestQuery
@Nonnull CustomerRequestIssueQuery.Builder newIssueQueryBuilder()
CustomerRequestIssueQuery
@Nonnull PagedResponse<CustomerRequest> getCustomerRequests(@Nullable com.atlassian.jira.user.ApplicationUser user, CustomerRequestQuery customerRequestQuery)
CustomerRequest
that satisfies the query parametersuser
- the user executing the requestscustomerRequestQuery
- the query parameterCustomerRequest
ServiceDeskServiceException
- on errorCustomerRequest getCustomerRequest(@Nullable com.atlassian.jira.user.ApplicationUser user, CustomerRequestIssueQuery customerRequestIssueQuery)
CustomerRequest
that matches the issueIDuser
- the user executing the requestscustomerRequestIssueQuery
- the query parameterCustomerRequest
ServiceDeskServiceException
- on error@Nonnull CustomerRequestUpdateParameters.Builder newUpdateBuilder()
CustomerRequestUpdateParameters
@Nonnull CustomerRequest updateCustomerRequest(@Nullable com.atlassian.jira.user.ApplicationUser user, @Nonnull CustomerRequestUpdateParameters customerRequestUpdateParameters)
CustomerRequest
using the given parametersuser
- the user executing the requestcustomerRequestUpdateParameters
- parameters to update the customer requestCustomerRequest
ServiceDeskServiceException
- on errorCustomerRequestStatusQuery.Builder newStatusQueryBuilder()
CustomerRequestStatusQuery
@Nonnull PagedResponse<CustomerRequest.CustomerRequestStatus> getCustomerRequestStatus(@Nullable com.atlassian.jira.user.ApplicationUser user, CustomerRequestStatusQuery query)
CustomerRequest.CustomerRequestStatus
of a CustomerRequest
by chronological order in which the status transition taken placeuser
- the user executing the queryquery
- the request status queryCustomerRequest.CustomerRequestStatus
ServiceDeskServiceException
- on errorCopyright © 2024 Atlassian. All rights reserved.