Trying to create an automation rule (Scheduled) that will read in the value from a numeric custom field and use that in the JQL to figure out if the issue was last updated beyond a certain period of time (whatever the custom field value is set to).
status = "Hold For Feedback" AND updated < -{{issue.fields.customfield_10303.value}}d
This is the error that gets produced:
Error running query for scheduled JQL trigger:
"(status = "Hold For Feedback" AND updated < -d) AND (project in (10146)) AND (updated >= -2m)" - Date value '-d' for field 'updated' is invalid. Valid formats include: 'yyyy/MM/dd HH:mm', 'yyyy-MM-dd HH:mm', 'yyyy/MM/dd', 'yyyy-MM-dd', or a period format e.g. '-5d', '4w 2d'.