Keychain - Delegation for Jira Data Center
Breadcrumbs

Get Delegation

GET /rest/delegation/1.0/api/<delegationId>

Returns an existing delegation record as JSON.

Request

XML
<jira_url>/rest/delegation/1.0/api/delegation/<delegationId>

The request takes all parameters from the REST URL

Parameters

Expand parameters...


Parameter

Description

Location

Required

Value Samples

delegationId

The ID of the existing delegation configuration that you want to delete.

REST URL

Yes

  • 1

  • 2


Examples

Expand examples...


JavaScript
https://192.168.0.1/rest/delegation/api/1.0/delegation/1


Responses

Expand responses...


https://obssapps.atlassian.net/wiki/images/icons/grey_arrow_down.png 200 - Success

Success

HTTP 200

Returns the delegation record as JSON.

{ "delegationId": 122, "version": 1, "active": true, "delegator": "123", "delegates": [ "123" ], "categoryIds": [], "startDate": "2024-12-18T18:00Z", "endDate": "2024-12-25T18:00Z", "notes": "asd" }

https://obssapps.atlassian.net/wiki/images/icons/grey_arrow_down.png 403 - Missing Permission

Missing Permission

HTTP 403

When the authenticated user does not have the necessary permissions.

{ "status": 403, "message": "You do not have permission to view this delegation.", "timestamp": "2024-12-20 10:35:20 +0000" }

https://obssapps.atlassian.net/wiki/images/icons/grey_arrow_down.png 404 - Not found

Not Found

HTTP 404

When one of the supplied parameter values is not found.

{ "status": 404, "message": "Delegation with id \"1\" could not be found.", "timestamp": "2024-12-20 08:40:34 +0000" }