Get the current target
get_targetReads- What it does
- Reads only. Changes nothing.
- Permission
- Targets, read
targets:read
What your assistant is told
Get the target version in force on a date — today unless date says
otherwise. Returns null if the user had not set any targets by then.
Use this before set_target so you change what is actually set rather
than what you assume, and use it with a past date when explaining why
an old day scored the way it did. For the whole change history, call
list_targets instead.
Parameters
datetext, optionalLocal date, yyyy-MM-dd. Defaults to today.