I would like to update the Due date with Current date+2 while creating an issue. I have added the following post function through Jira Workflow Toolbox,
{Current date and time}+2*{DAY}
But it is not updating anything on the Due Date field. Please advise on the syntax to be used.
To do mathematical or time calculations like the one you are trying to do, you should use post-function Mathematical and date-time expression calculator.
If you use the formula {00057}+2*{DAY}
, you will be adding to natural days to current date and time. Next version of the plugin (2.0.19) will provide function addDaysSkippingWeekends(t, n, time_zone). With this function you will be able to add "working days", i.e., you will be able to add days skipping the weekends.
Once configured, the transition looks like this: