Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 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.

...