Get a list of global, project, or plan variables based on regex filtering of variable names. Defaults to global variables unless a project or plan is specified. The optional reference parameter can be used to set a CLI replacement variable for each variable with name prefixed by the reference parameter. Use 'bamboo.' to make references look similar to how bamboo variables are used. Project variables are available on Bamboo 7.1 and higher.