...
Create a new trigger → Incoming webhook
...
Copy the autogenerated url for Webhook URL and the Secret from the incoming webhook.
Set the field “Execute this automation rule with“ with “No issues from the webhook“
...
Set the name of the webhook and the url with the previously copied url from the Automation incoming webhook and save.
...
Note |
---|
Important Because of this change (https://support.atlassian.com/cloud-automation/docs/configure-the-incoming-webhook-trigger-in-atlassian-automation/ ), you have to add a slash and the secret at the end of the Webhook URL (https://URL/SECRET) |
...
Now you have linked Projectrak with Automation rule.
...
Create an action: Send web request
Web request URL: https://profields-cloud.deiser.com/values/projects/{{projectId}}/fields/<START_DATE_FIELD_ID>
Headers:
Content-Type: application/json
Authorization: Bearer {{projectrakJwt}}
HTTP method: GET
Web request body: Empty
Check: Delay execution of subsequent rule actions until we've received a response for this web request
...
8. Set the value in a variable
Create an action: Create variable
Variable name: startDate
Smart value: {{webResponse.body.value.value}}
...
9. Get the value of the field Start date in the project
...