I need to automatically set the Due Date to the current date plus 48 hours from the moment of issue creation for tasks created in Jira (only for projects with key 'N') and with the Issue Type 'Ticket'. For example, if a ticket is created on June 13th at 12:00, the Due Date should be set to June 15th at 12:00, excluding weekends.
If I use the expression {{#issue.dueDate}}func=now.plusBusinessDays(2){{/}}, the Due Date field is only updated if it already has a value.
Could someone help me with this?
when i use {{<span>#issue.created}}{{.format("yyyy/MM/dd")}}{{/}}<br></span>
Error rendering smart-values when executing this rule: The datetime zone id 'GMT+02:00' is not recognised: {{#issue.created}}{{.format("yyyy/MM/dd")}}{{/}}
Jira v8.12.2