...
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" } } |
Release
...
Content Changed
The Release Started Content Changed 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.
...
language | json |
---|
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 StartedContent Changed", "actor": "avnishchandresh.patel@flexagon.com", "object": "Release Build 50310193", "timestamp": "20242023-0310-2530 1320:1732:0831 -0500", "payload": { "release": { "releaseId": 2366341177818, "releaseName": "Release 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 Started",
"actor": "avnish",
"object": "Release Build 503",
"timestamp": "2024-03-25 13:17:08 -0500",
"payload": {
"release": {
"releaseId": 236634,
"releaseName": "Release Build 503",
"releaseDescription": "Blackout W test"
},
"startDate": 1711390628000,
"endDate": null,
"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"
}
}
} |
Release Ended
The Release Ended event is triggered whenever a release is ended in FlexDeploy. Common use cases can include logic you want to perform after any release is ended. For example you may want to end a sprint in Jira whenever the release is ended.
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" } } } |
Release
...
Updated
The Release Ended Updated event is triggered whenever a release is endedin updated, started, or ended in FlexDeploy. Common use cases can include logic you want to perform after any release is endedupdated. For example you may want to end a sprint in Jira whenever the release is endednotify an external system when a release description changes.
Code Block | language | json
---|
{ "eventType": "Release EndedUpdated", "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": null, "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" } } } |
...