PT WebHooks

Use Activity WebHooks to receive details about your project activities to the URL you specify, as JSON POST requests.

Project activities include:

Test Runs
When a test run starts
When a test run is completed (all steps have been run)
When a test run fails

Entity

When an Issue is created
When a Test is created
When a Requirement is created
When an Issue is updated
When a Test is updated
When a Requirement is updated

Follow the instructions below to configure Activity WebHooks.

Go to the Project Settings – Integrations – Project Activity WebHooks.

WebHooks

Specify the URL and click Add. After adding the webhook you can modify URL, name or notification by clicking ‘edit’ icon.

webhook_edit

See the example of JSON POST request below

{
       "kind":"entity_notification",
       "entity_type":"Issue",
       "entity_url":"https://prod.practitest.com/p/3818/issues/144124?source=webhook",
       "entity_object": {
         "id":"327", "type":"issues", "attributes":
         {"project-id":1, "display-id":32, "title":"We need to customize the xx for our use", "issue-type:"task", "description":"Just testing :-)\n\n", "status-name:"closed", "status-resolution":nil, "author-id":6, "assigned-to-id":5, "version":nil, "priority":"high", closed-at":Tue, 01 Jul 2008 06:59:24 UTC +00:00, "closed-by-id":5, "cloned-from-id":nil, "external-id":nil, "custom-fields":{}, "created-at":Tue, 24 Jun 2008 08:55:10 UTC +00:00, "updated-at":Tue, 01 Jul 2008 06:59:24 UTC +00:00}
       }

         }