Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 2 Next »

Good morning Kunal, 

We have found a way to achieve something you've requested in our meeting some weeks ago. Getting end date of the project from their issues. You can achieve it using Automation.

Let's make an example, set the end date of the project as the furthest date in the future of the project's issues. 

1. Create a new trigger: When value changes -> Every time the due of an issue is edited (or created)


2. New Action → Send web request

  • Web request URL: https://profields-cloud.deiser.com/api-keys/jwt
  • Headers:
    • Content-Type: application/json
    • Authorization: application/json
  • HTTP method: POST
  • Web request body: Custom data
  • Custom data (ℹ️ Replace for your Projectrak API ID key and API key) -> See how to create it
  • Check: Delay execution of subsequent rule actions until we've received a response for this web request


3. New Action → Create variable

  • Variable name: projectrakJwt
  • Smart value: {{webResponse.body.jwt}}


4. New Action → Send web request


5. New Action → Create variable

  • Variable name: projectEnddate
  • Smart value: {{webResponse.body.value.value}}


6. New Condition → Advanced compared condition

  • First value: {{issue.duedate}}
  • Condition: grater than
  • Second value: {{projectEnddate}}


7. New Action → Send web request

  • Web request URL: https://profields-cloud.deiser.com/values/projects/{{issue.project.id}}
  • Headers:
    • Content-Type: application/json
    • Authorization: Bearer {{projectrakJwt}}
  • HTTP method: POST
  • Web request body: Custom data
  • Custom data (ℹ️ Replace for the Projectrak field ID key and the issue field) 
  • Check: Delay execution of subsequent rule actions until we've received a response for this web request

  • No labels