Returns an approval for a given approval ID.
string
Requiredstring
RequiredReturns the requested approval.
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/servicedeskapi/request/{issueIdOrKey}/approval/{approvalId}' \
--header 'Accept: application/json'
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
31
32
33
34
35
36
37
38
39
{
"id": "<string>",
"name": "<string>",
"finalDecision": "approved",
"canAnswerApproval": true,
"approvers": [
{
"approver": {
"name": "<string>",
"key": "<string>",
"emailAddress": "<string>",
"displayName": "<string>",
"active": true,
"timeZone": "<string>",
"_links": {}
},
"approverDecision": "approved"
}
],
"createdDate": {
"iso8601": "<string>",
"jira": "<string>",
"friendly": "<string>",
"epochMillis": 2154
},
"completedDate": {
"iso8601": "<string>",
"jira": "<string>",
"friendly": "<string>",
"epochMillis": 2154
},
"_links": {
"self": "<string>"
},
"condition": {
"type": "<string>",
"value": "<string>"
}
}
Answer a pending approval.
string
Requiredstring
RequiredThe decision to make on the approval.
string
string
boolean
Returns the updated approval.