...
Project Created/Activated/Inactivated/Deleted
@Since 8.0.0.2The The Project Events are sent when a project is Created, Activated, Inactivated, and deleted.
...
Code Block |
---|
"eventType": "Project Deleted", "actor": "karl.henselin@flexagon.com", "object": "65249022", "timestamp": "2024-05-09 07:57:34 -0500", "payload": { "description": null, "active": true, "folder": { "folderId": 727448, "folderPath": "FlexDeploy / Karl" }, "projectName": "JDBC", "projectId": 65249022, "projectType": "PARTIAL_JDBC", "scmType": "GIT" :57:34 -0500", "payload": { "description": null, "active": true, "folder": { "folderId": 727448, "folderPath": "FlexDeploy / Karl" }, "projectName": "JDBC", "projectId": 65249022, "projectType": "PARTIAL_JDBC", "scmType": "GIT" } } |
Release Content Changed
The Release Content Changed event is triggered whenever a release has a project or work item added or removed. This can be used to notify an external system that a project, package, or work item is included or removed from in a release. If the shopping cart is used, the event will be fired once for the collection of changes. Otherwise, a new event will fire with each addition or removal.
Code Block |
---|
{
"eventType": "Release Content Changed",
"actor": "chandresh.patel@flexagon.com",
"object": "10193",
"timestamp": "2023-10-30 20:32:31 -0500",
"payload": {
"release": {
"releaseId": 1177818,
"releaseName": "10193",
"releaseDescription": ""
},
"projects": [
{
"projectId": 135406841,
"projectName": "linux-scmtest",
"packageName": "files",
"streamName": null,
"buildEnvironment": {
"environmentId": 28222384,
"environmentName": "Development",
"environmentCode": "DEVELOPMENT"
},
"groupName": null
},
{
"projectId": 579010,
"projectName": "NoAction1",
"packageName": null,
"streamName": null,
"buildEnvironment": {
"environmentId": 10050,
"environmentName": "Build",
"environmentCode": "BLD"
},
"groupName": null
}
],
"workItems": [
{
"workItemId": 16
}
],
"addedProjects": [
{
"projectId": 135406841,
"projectName": "linux-scmtest",
"packageName": "files",
"streamName": null,
"buildEnvironment": {
"environmentId": 28222384,
"environmentName": "Development",
"environmentCode": "DEVELOPMENT"
},
"groupName": null
}
],
"addedWorkItems": [],
"removedProjects": [],
"removedWorkItems": []
}
} |
Release Started
The Release Started event is triggered whenever a release is started in FlexDeploy. Common use cases can include logic you want to perform after any release is started. For example you may want to start a sprint in Jira whenever the release is started.
...
Code Block | ||
---|---|---|
| ||
{ "eventType": "Release Ended", "actor": "avnish", "object": "Release Build 503", "timestamp": "2024-03-25 13:19:00 -0500", "payload": { "release": { "releaseId": 236634, "releaseName": "Release Build 503", "releaseDescription": "Blackout W test" }, "startDate": 1711390628000, "endDate": null1712590731000, "projects": [ { "projectId": 10212437, "projectName": "XXHR", "packageName": "JavaPkg", "streamName": "master", "buildEnvironment": { "environmentId": 11595, "environmentName": "Dev123", "environmentCode": "DEV1" }, "groupName": null }, { "projectId": 19422906, "projectName": "Build 503", "packageName": null, "streamName": "master", "buildEnvironment": { "environmentId": 223477, "environmentName": "503 Build", "environmentCode": "503BUILD" }, "groupName": null }, { "projectId": 19667075, "projectName": "XXHR TFVC", "packageName": "Pkg1", "streamName": "master", "buildEnvironment": { "environmentId": 418564, "environmentName": "Development", "environmentCode": "DEV" }, "groupName": null } ], "pipeline": { "pipelineId": 198497, "pipelineName": "Pipeline Check" } } } |
...