Currently have a post-function set for a workflow that updates a datetime customfield with %%CURRENT_DATETIME%% with the append flag checked. Our belief was that this would allow users to enter a date in a field on the transition screen and the append flag would mean that value would NOT be overwritten with today's date. We now realize this is not the actual behaviour and instead the datetime field takes today's date on the post-function regardless of if the field was left empty or not.
What we are looking for:
- Case 1 - No value entered on transition screen
- Field should take today's date
- Case 2 - Value entered on transition screen
- Field should stay as what was entered
I know how to do this with scriptrunner but it's always nicer when I can do it Vanilla. Is this possible with a normal post-function?