Versions Compared

Key

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

...

When a webhook is triggered in Projectrak, it will initiate a POST request to the URL that has been configured by the Jira administrator. This POST request will contain the following data:

  • Type of event: The specific event that triggered the webhook, such as a field value change.

  • User information: The user who made the change in the fields, providing details about the author of the modification.

  • Timestamp: The exact moment when the change was made, allowing you to track the timing of the event.

  • Project details: The project that has been updated, including its relevant information and identifiers.

  • Field changes: A list of fields that have been modified, along with the specific modifications made to each field.

Example of request body

Code Block
languagejson
{
    data: {
        event: "updated",
        user: "DUMMY-ACCOUNT-ID-4c44-b436-73155f48d985",
        timestamp: 1675182117615,
        project: {
            id: 13647,
            key: "DEMO",
            name: "Demo project"
        },
        fields: [
            {
                id: 12345,
                name: "Budget",
                type: "number",
                value: {
                    current: "23.000",
                    previous: "25.000"
                }
            },
            {
                id: 54321,
                name: "Status",
                type: "status",
                value: {
                    current: "Done",
                    previous: "On track"
                }
            }
        ]
    }
}

...