GET

Get queues

Returns a page of queues defined inside a service project, for a given service project ID. The returned queues will include an issue count for each queue (represented in issueCount field) if the query param includeCount is set to true (defaults to false).

Permissions:

The calling user must be an agent of the given service project.

Request

Path parameters

serviceDeskId

string

Required

Query parameters

includeCount

string

start

number

limit

number

Responses

Returns the queues belonging to the provided service project, at the specified page of the results.

application/json

object
GET/servicedeskapi/servicedesk/{serviceDeskId}/queue
1 2 3 curl --request GET \ --url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 { "_expands": [ "<string>" ], "size": 1, "start": 0, "limit": 50, "isLastPage": true, "_links": { "base": "<string>", "context": "<string>", "next": "<string>", "prev": "<string>", "self": "<string>" }, "values": [ { "id": "<string>", "name": "<string>", "jql": "<string>", "fields": [ "<string>" ], "issueCount": 2154, "_links": { "self": "<string>" } } ] }
POST

Create queue

Creates a queue with the given properties.

Permissions:

The calling user must have permission to create a queue, i.e. they must be an admin of the service project that the queue belongs to.

Request

Path parameters

serviceDeskId

string

Required

Request bodyapplication/json

The queue to create.

name

string

jql

string

fields

array<string>

Responses

Returns the created queue.

application/json

QueueDTO
POST/servicedeskapi/servicedesk/{serviceDeskId}/queue
1 2 3 4 5 6 7 8 9 10 11 curl --request POST \ --url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "jql": "<string>", "fields": [ "<string>" ] }'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 { "id": "<string>", "name": "<string>", "jql": "<string>", "fields": [ "<string>" ], "issueCount": 2154, "_links": { "self": "<string>" } }
GET

Get queue

Returns the queue for a given service project id and queue id. The returned queue will include an issue count for queue (represented in issueCount field) if the query param includeCount is set to true (defaults to false).

Permissions:

The calling user must be an agent of the given service project.

Request

Path parameters

queueId

string

Required
serviceDeskId

string

Required

Query parameters

includeCount

string

Responses

Returns the queue with the given queue id belonging to the provided service project.

application/json

QueueDTO
GET/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}
1 2 3 curl --request GET \ --url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 { "id": "<string>", "name": "<string>", "jql": "<string>", "fields": [ "<string>" ], "issueCount": 2154, "_links": { "self": "<string>" } }
POST

Update queue

Updates the queue properties with the new properties. If a property is not passed it will not be updated.

Permissions:

The calling user must have permission to update a queue, i.e. they must be an admin of the service project that the queue belongs to.

Request

Path parameters

queueId

string

Required
serviceDeskId

string

Required

Request bodyapplication/json

The new properties of the queue.

name

string

jql

string

fields

array<string>

Responses

Returns the updated queue

application/json

QueueDTO
POST/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}
1 2 3 4 5 6 7 8 9 10 11 curl --request POST \ --url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "jql": "<string>", "fields": [ "<string>" ] }'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 { "id": "<string>", "name": "<string>", "jql": "<string>", "fields": [ "<string>" ], "issueCount": 2154, "_links": { "self": "<string>" } }
DEL

Delete queue

Deletes the queue for the given queue id.

Permissions:

The calling user must have permission to delete the queue, i.e. they must be an admin of the service project that the queue belongs to.

Request

Path parameters

queueId

string

Required
serviceDeskId

string

Required

Responses

Delete queue was successful.

application/json

any

DEL/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}
1 2 3 curl --request DELETE \ --url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}' \ --header 'Accept: application/json'
GET

Get issues in queue

Returns a page of issues inside a queue for a given queue ID. Only fields that the queue is configured to show are returned. For example, if a queue is configured to show only Description and Due Date, then only those two fields are returned for each issue in the queue.

Permissions:

The calling user must have permission to view the requested queue, i.e. they must be an agent of the service project that the queue belongs to.

Request

Path parameters

queueId

string

Required
serviceDeskId

string

Required

Query parameters

start

number

limit

number

Responses

Returns the issues belonging to the provided queue, at the specified page of the results.

application/json

object
GET/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}/issue
1 2 3 curl --request GET \ --url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue/{queueId}/issue' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 { "_expands": [ "<string>" ], "size": 1, "start": 0, "limit": 50, "isLastPage": true, "_links": { "base": "<string>", "context": "<string>", "next": "<string>", "prev": "<string>", "self": "<string>" }, "values": [ null ] }
POST

Reorder queues

Reorder queues for the users. This is the order in which the queues will appear in agent view. The API requires all queue ids to be passed in the new order.

Permissions:

The calling user must have permission to reorder the queue, i.e. they must be an admin of the service project that the queue belongs to.

Request

Path parameters

serviceDeskId

string

Required

Request bodyapplication/json

The new order of the queues.

string

Responses

Returns the queues list in the new order

application/json

QueueDTO
POST/servicedeskapi/servicedesk/{serviceDeskId}/queue/reorder
1 2 3 4 5 curl --request POST \ --url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/queue/reorder' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '"<string>"'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 { "id": "<string>", "name": "<string>", "jql": "<string>", "fields": [ "<string>" ], "issueCount": 2154, "_links": { "self": "<string>" } }

Rate this page: