Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 18 Next »

1. Configure trigger

Create a new trigger → Field value changed

  • Field to monitor for changes: Choose due date

  • Change type: Any changes to the field value

2. Get the field object

Add component → New action → Send a web request

For this example, our End date field from Projectrak has the id: 2870

(warning) Replace using your id

  • Web request URL: https://profields-cloud.deiser.com/values/projects/{{issue.project.id}}/fields/2870

  • Headers:

  • 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

Add component → New action → Create variable

  • Variable name: projectEnddate

  • Smart value: {{webResponse.body.value.value}}

4. Compare dates between the project and the current issue

Add component → New condition → Advanced compare condition

  • First value: {{issue.duedate}}

  • Condition: grater than

  • Second value: {{projectEnddate}}

5. 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

(warning) Replace using your id

[
  {
    "fieldId": 2870,
    "value": "{{issue.duedate}}"
  }
]
  • Check: Delay execution of subsequent rule actions until we've received a response for this web request

  • No labels