Last updatedNov 18, 2019

Web triggers

Web triggers are incoming HTTP calls that invoke a function. Such as, from a third-party webhook implementation. Web triggers are configured in the app’s manifest and the URL to call is created through the Forge CLI.

Web trigger URL

Use the following instructions to get a web trigger URL.

  1. In the terminal, navigate to your app directory and run the following command:
    1
    forge webtrigger
  2. Select the product your app uses.
  3. Enter the URL for the site where the app is installed. For example, your-domain.atlassian.net.
  4. Select the web trigger that you want the URL for. The options come from the manifest.

The URL displayed is your web trigger URL. It should look like this:

1
https://312d6628-3fb9-4fa1-a999-d7f9c7082b9f.hello.atlassian-dev.net/x0/eyJjdHgiOiJhcmk6Y2xvdWQ6Y29uZasdadsS8xNjdhZTk5My00ZjU0LTQ5ZTMtYjY4YS1mYjM1YjQ1NmM4ODUiLCJleHasdadWQ6ZWNvc3lzdGVtOjpleHRlbnNpb24vMzEyZDY2MjgtM2ZiOS00ZmExLWE5OTktZDdmOWM3MDgyYjlmLzY5ZmNlNjg3LTE1YmQtNGU1Ny0asdad1NmEyMy9zdGF0aWMvd2VidHJpZ2adsdsazeW5jIn0