I am trying to build some automation that will update a date field when an action is performed, but only if another date field's value +1w is greater than today's date. I am attempting to accomplish this with scriptrunner's datecompare issuefunction.
Example:
issuefunction in datecompare("", "Due Date +1w > now()")
However, now() is not accepted as a date value here. Is there a way to call the current date in this context?