@ExperimentalApi
public interface QueueQuery
Queue
that a user can see.
Examples:
// Query all queues of a specific Service Desk
QueueQuery query = queueService.newQueueQueryBuilder().serviceDeskId(1).build();
// Query a specific queue by its ID
QueueQuery query = queueService.newQueueQueryBuilder().serviceDeskId(1).queueId(10).build();
Modifier and Type | Interface and Description |
---|---|
static interface |
QueueQuery.Builder
Builder to construct the
QueueQuery . |
Modifier and Type | Method and Description |
---|---|
boolean |
includeIssueCount()
Whether to include the number of issue belonging to
Queue . |
LimitedPagedRequest |
pagedRequest()
Pagination control.
|
Optional<Long> |
queueId()
|
long |
serviceDeskId()
NB: Please note that from a future version of JIRA Service Desk released alongside JIRA 7.6.0 this method will return an int, instead of a long
|
long serviceDeskId()
ID of the ServiceDesk
whose Queue
will be returned.
This parameter is always required.
boolean includeIssueCount()
Queue
. Default is false.LimitedPagedRequest pagedRequest()
Copyright © 2017 Atlassian. All rights reserved.