1. Create a new trigger: When value changes -> Every time the due of an issue is edited (or created)
2. Get the field object
For this example, our End date field from Projectrak has the id: 2870
Replace using your id
- Web request URL: https://profields-cloud.deiser.com/values/projects/{{issue.project.id}}/fields/2870
- Headers:
- Content-Type: application/json
- Authorization: Bearer {{projectrakJwt}} →
Understand how to create a Projectrak authorization in Automation for Jira
- HTTP method: GET
- Web request body: Empty
- Check: Delay execution of subsequent rule actions until we've received a response for this web request
3. Store the field object in a variable
- Variable name: projectEnddate
- Smart value: {{webResponse.body.value.value}}
4. New Condition → Advanced compared condition
- First value: {{issue.duedate}}
- Condition: grater than
- Second value: {{projectEnddate}}
5. New Action → Update issue field with project value
Add component → New Action → Send a web request
For this example, our End date field from Projectrak has the id: 2870
Replace using your id
- Web request URL: https://profields-cloud.deiser.com/values/projects/{{issue.project.id}}
- Headers:
- Content-Type: application/json
- Authorization: Bearer {{projectrakJwt}} →
Understand how to create a Projectrak authorization in Automation for Jira
- HTTP method: POST
- Web request body: Custom data
- Custom data
[ { "fieldId": 2870, "value": "{{issue.duedate}}" } ]
- Check: Delay execution of subsequent rule actions until we've received a response for this web request