Response
| Attributes | Type | Description |
|---|
| taskId | Long | The task id of the approval task. |
| status | String | The status of the approval task. |
| environmentId | Long | The environment Id of the approval task. |
| requestType | String | The request type of the approval task. The request type can be a release, application, or project request. |
| flexFields | List<FlexField> | The list of flex fields for the approval task. |
| requestorPath | String | The requestor path of the approval task. |
| externalId | String | The externalId of the approval task. If the approval task is not an external approval task this will be null. |
| externalSystemId | Long | The externalSystemId of the approval task. If the approval task is not an external approval task this will be null. |
| externalSystemType | String | The externalSystemType of the approval task. If the approval task is not an external approval task this will be null. |
| notes | String | Notes the requestor entered when approving or rejecting the task |
Each approval task can be one of three different types: Release, Application, and Project.
Release Approval Task
| Attributes | Type | Description |
|---|
| snapshotId | Long | The snapshot id of the release approval task. |
| pipelineName | String | The pipeline name of the release approval task. |
| environmentName | String | The environment name of the release approval task. |
| gateName | String | The gate name of the release approval task. |
| releaseName | String | The release name of the release approval task. |
| releaseDefinitionId | Long | The release definition Id of the release approval task. |
| releaseSnapshot | String | The release snapshot of the release approval task. |
| pipelineStageGateExecId | Long | The pipeline stage execution Id of the release approval task. |
| notes | String | Notes entered when approving or rejecting the task |
Application Approval Task
| Attributes | Type | Description |
|---|
| applicationId | Long | The application id of the application approval task. |
| applicationName | String | The application name of the application approval task. |
| folderVersionName | String | The folder version name of the application approval task. |
| folderRequestId | String | The folder request Id of the application approval task. |
| notes | String | Notes entered when approving or rejecting the task |
Project Approval Task
| Attributes | Type | Description |
|---|
| projectId | Long | The project id of the project approval task. |
| projectName | String | The prohect name of the project approval task. |
| projectVersionName | String | The project version name of the project approval task. |
| workflowRequestId | Long | The workflow request id of the project approval task. |
| notes | String | Notes entered when approving or rejecting the task |