Versions Compared

Key

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

...

Code Block
{
  "eventType": "Package Created",
  "actor": "fdadmin",
  "object": "XXHR-10089",
  "timestamp": "2023-10-19 12:52:11 -0500",
  "payload": {
    "createdBy": "fdadmin",
    "createdOn": "2023-10-19 12:52:11 -0500",
    "updatedBy": "fdadmin",
    "updatedOn": "2023-10-19 12:52:11 -0500",
    "projectPackageId": 1144126,
    "description": "\n",
    "excludePath": null,
    "includePath": null,
    "packageName": "XXHR-10089",
    "packagePath": null,
    "packageStatus": "ACTIVE",
    "packageType": "USER_MANAGED",
    "projectId": 195743,
    "tests": null,
    "testLevel": null,
    "versionSyntax": null,
    "project": {
      "projectId": 195743,
      "projectName": "XXHR"
    }
  }
}

Package Status Updated

@Since 7.0.0.1 - The Package Status Updated event is triggered anytime a package’s status is changed (‘Active’, ‘Inactive’, ‘Completed’) for a project throughout FlexDeploy. This could possibly be used as a event to execute a script to automatically remove the package from a release whenever it is inactivated or completed for a specific project.

...

Code Block
{
  "eventType": "Pipeline Version Activated",
  "actor": "fdadmin",
  "object": "56502",
  "timestamp": "2024-03-12 10:18:50 -0500",
  "payload": {
    "createdBy": "fdadmin",
    "createdOn": "2023-04-18 12:36:55 -0500",
    "updatedBy": "fdadmin",
    "updatedOn": "2023-10-09 13:11:03 -0500",
    "pipeline": {
      "pipelineId": 56501,
      "pipelineName": "Sample Pipeline"
    },
    "description": null,
    "pipelineVersionId": 56502,
    "pipelineVersion": "1"
  }
}

Project Created/Activated/Inactivated/Deleted

@Since 8.0.0.2The Project Events are sent when a project is Created, Activated, Inactivated, and deleted.

Code Block
{
  "eventType": "Project Created",
  "actor": "karl.henselin@flexagon.com",
  "object": "10175",
  "timestamp": "2024-05-09 07:55:18 -0500",
  "payload": {
    "description": "HR MDS Objects",
    "active": true,
    "folder": {
      "folderId": 10714,
      "folderPath": "FlexDeploy / HumanResources / HRApp"
    },
    "projectName": "HRMDSObjects",
    "projectId": 10175,
    "projectType": null,
    "scmType": "GIT"
  }
}
Code Block
{
  "eventType": "Project Activated",
  "actor": "karl.henselin@flexagon.com",
  "object": "81593556",
  "timestamp": "2024-05-09 07:54:06 -0500",
  "payload": {
    "description": null,
    "active": true,
    "folder": {
      "folderId": 727448,
      "folderPath": "FlexDeploy / Karl"
    },
    "projectName": "10587",
    "projectId": 81593556,
    "projectType": "UTILITY",
    "scmType": "NONE"
  }
}
Code Block
{
  "eventType": "Project Inactivated",
  "actor": "karl.henselin@flexagon.com",
  "object": "1000909",
  "timestamp": "2024-05-09 07:56:02 -0500",
  "payload": {
    "description": "Project created with API",
    "active": true,
    "folder": {
      "folderId": 759142,
      "folderPath": "FlexDeploy / SoapUI Testing"
    },
    "projectName": "XXHRPostman",
    "projectId": 1000909,
    "projectType": "EBS",
    "scmType": "GIT"
  }
}
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 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.

...