Default values with auto_accounts and auto_queues

Can auto_accounts and auto_queues support default values? This would set the initial selected default value if it is in the user’s list and if it does not then use the first available value.

e.g.

attributes:
auto_accounts: “open”
auto_queues: “open”

Hey, sorry for the delay. Yes it seems like they could/should. I’ve created this ticket upstream for the same:

Circling back to this now, they already do apparently. I’m just creating tests for the issue I’ve linked above.

Though the testing format I used was this, I’ll look into the format you have above as well.

        attributes:
          auto_qos:
            value: geophys
          auto_accounts:
            value: pzs1118
          auto_queues:
            value: quick

Yes this format is for fixed values - users won’t be presented with any option but the app will submit with that value always.

attributes:
  auto_accounts: “open”
  auto_queues: “open”

So you’d want to use this format to present the option to the user.

attributes:
  auto_accounts:
    value: open
  auto_queues:
    value: open