GET /rest/delegation/1.0/api/<delegationId>
Returns an existing delegation record as JSON.
Request
<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 | |
Examples
Expand examples...
https://192.168.0.1/rest/delegation/api/1.0/delegation/1
Responses
Expand responses...
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"
}
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"
}
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"
}