On this page
Use case
Set any Date Time Picker field of an issue to the current date and time.Configuration
Target issue*
Choose Current issue
Current Status field
Target issue*
Select current issue or parent of current issue, and upon selecting:
- Selected issue - An issue must be selected from your current issue list.
- Parser expression - A valid expression must be entered. In order to learn more about expressions, visit JWT expression editor.
Expression*
Set the expression editor to General mode and use the following expression:
%{dateTimeToString({system.currentDateTime} , "YYYY-MM-DDThh:mm:ss.sZ" , RUN_AS_LOCAL, RUN_AS_LANG)}
If you prefer, you can also set the expression editor to Jira expression mode and add the following expression:
new Date()
Run as*
Choose which user* will be able to execute the post function. By default, it is set to the Current user.
Related use cases
If you still have questions, feel free to refer to our support team.