On Bamboo version 7.1.4, for some scheduled builds, we can correctly find the metadata ScheduledTriggerReason.scheduledDate, see image:
but not the extra environment variable bamboo_ScheduledTriggerReason_scheduledDate as on:
... running command line:
/bin/sh /app/bamboo/home/temp/DAT-DATAFIXSCHED-JOB1-226-ScriptBuildTask-3053213325400375076.sh
... in: /app/bamboo/home/xml-data/build-dir/DAT-DATAFIXSCHED-JOB1
... using extra environment variables:
bamboo_build_working_directory=/app/bamboo/home/xml-data/build-dir/DAT-DATAFIXSCHED-JOB1
[...]
What are we missing? Thanks in advance.