PT WebHooks
Use Activity Web Hooks 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 Issue is created
When Test is created
When Requirement is created
When Issue is updated
When Test is updated
When Requirement is updated
Follow the instructions below to configure Activity Web Hooks.
Go to the Project Settings – Integrations – Project Activity Web Hooks.
Specify the URL and click Add. After adding the webhook you can modify URL, name or notification by clicking ‘edit’ icon.
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} } }