JetBrains Space EAP Help

Webhooks

Webhooks can be set up to notify external services, such as an issue tracker, a CI server, or a deployment tool, about events that occur in Space. Webhooks are a way to push notifications to external services which is usually preferable to polling.

When an event occurs, Space will send an HTTP POST request to the specified URL. The following events are available:

  • a project is created

  • a project is updated

  • a project is deleted

  • a repository is updated (new commit, settings changed)

  • an article is published

  • an article is unpublished

At this time, webhooks do not support JSON payloads, however for project- and repository-related events, you can pass project name and repository name respectively in the form of URL macros, by adding them to the URL string.

Event

Supported parameter

Project is created

%project%

Project is updated

%project%

Project is deleted

%project%

Repository is updated (commits, settings, etc.)

%repository%

To set up a webhook:

  1. On the navigation bar, click your avatar then choose Administration → Webhooks

  2. Click New webhook

  3. Give your webhook a name and description, check Enabled.

  4. Specify the URL of the service that should be be notified. You can add a macro if the selected event supports it.

  5. Pick one or more triggering events.

  6. Click Save when done.

Last modified: 25 March 2020