This code snippet sets a date field to today's date
Pass today's date
{{ now }} |
The output of the code snippet is a Moment.js date object which you could use to:
in the Create issue post-function under Set fields of new issue section
Conditionally execute a post-function or Unlink issues - Eg: Estimated delivery date is less than today
{{ issue.fields["Estimated Delivery Date"] < now }} |
Comment in one of the Comment issue post-functions
Subject/HTML body/Text body of Email issue post-function
Your issue has been rejected on {{ now | date('dddd, MMMM Do YYYY') }} since it is invalid. |
Write a JQL search expression in Link issues to current issue post-function. Eg: Link issues which have been created since yesterday
created >= {{ now | date('subtract' , 1 , 'days') }} |
|