...
Base path: https://app.approval-path.com/webapi
...
Definition
ref-id
- In the case of Approval Path for Jira, this is issue project id or issue project key.
List
...
of project definitions
GET /approvalsapproval-definitions/{ref-id}
Return example:
List of global definitions
GET /approval-definitions
Expand | |||||
---|---|---|---|---|---|
| |||||
|
When Change Performer Origin 'USER' is selected for API key approval create and reset requests can be extended to include the userId
field.
Create approval
POST /approvals/{ref-id}
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Reset approval
Allows user to reset ongoing or finalized approval path on an issue.
POST /approvals/{ref-id}/reset
Body parameterscreateComment
- Default false
. If true
, will generate a comment when approval path is reset via API. The creator of the API will be specified as the agent.
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This will reset the approval path - by default no comment will be generated.
This will reset the path and generate a comment. |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Approval
ref-id
- In the case of Approval Path for Jira, this is issue id or issue key.
List approvals
GET /approvals/{ref-id}
Return example:
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
When Change Performer Origin 'USER' is selected for API key approval create and reset requests can be extended to include the userId
field.
Create approval
POST /approvals/{ref-id}
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
Reset approval
Allows user to reset ongoing or finalized approval path on an issue.
POST /approvals/{ref-id}/reset
Body parameterscreateComment
- Default false
. If true
, will generate a comment when approval path is reset via API. The creator of the API will be specified as the agent.
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This will reset the approval path - by default no comment will be generated.
This will reset the path and generate a comment. |
Expand | |||||
---|---|---|---|---|---|
| |||||
|