I'm using a shell script task as part of build process. When I access variables using ${bamboo.my.variable} and ${bamboo.my.secret}, it works fine for inline task. However if I use, ${bamboo_my_variable} and ${bamboo_my_secret} in an external script file, only the first one i.e. normal variable works, but not the secret one.
Is there a way to access secret/password variables inside external script files? Bamboo version 6.1.0