If certain rules are needed to be executed only after some processes in other applications are completed, use the webhook trigger. e.g. if you want a certain version's release notes to be triggered only after the build is deployed successfully on the test environment.
In this case, webhook endpoint refers/considers the variables provided in the selected template in a rule action. You can use the GET or POST request type as needed.
Notice that the GET & POST action provides the list of version and sprint variables in the template.
Triggering webhook rule via the link with version names
Once you save the rule with the Webhook trigger and get the Webhook link, you can paste the link in browser to run the rule by passing ARNR variables in the same link. Example -
Link received after saving the rule with a webhook trigger - https://arn.upraise.io/arn/executewebhook/bdb42669-8181-4d77-afe6-f7c7193ec0?version={versionName}
In above link you can replace the {versionId} variable with the actual variable value in double quotes for eg. in this case version id is “apple v1.2.0” so the webhook link you would hit in browser is -
https://arn.upraise.io/arn/executewebhook/bdb42669-8181-4d77-afe6-f7c7193ec041?version=“apple v1.2.0”
Triggering webhook for the Cloud version
For the cloud version of the app, it is very easy to trigger the webhook. You just have to copy the webhook URL and hit it with the corresponding version variables. No authentication is needed. You can even do that directly via the browser just to verify it.
Triggering webhook for Server/DC version
For server/DC version of the app, you have to send a GET request to the webhook URL. Additionally with the GET request, provide an Authorization
header with content Basic
followed by the encoded string generated from Base64 Encode and Decode - Online for username: password
That is, authentication is needed to trigger the webhook in this case.