Skip to content

Folder filtering on dashboard operations not working as expected #549

@sureshsubramaniam

Description

@sureshsubramaniam

I had been trying to use the -f / --folder filtering options when trying to upload / download / list subcommands, but the filter consition is not matching as per the debug output
gdg -c test.yml b dash download -f Parent+Folder/Nested+Folder/Sub+Nested+Folder

Tried commands
gdg -c test.yml b dash download -f Parent+Folder/Nested+Folder/Sub+Nested+Folder
gdg -c test.yml b dash download -f Parent+Folder/Nested+Folder/Sub+Nested+Folder
gdg -c test.yml b dash download -f 'Parent+Folder/Nested+Folder/Sub+Nested+Folder'
gdg -c test.yml b dash download -f "Parent+Folder/Nested+Folder/Sub+Nested+Folder"
gdg -c test.yml b dash download -f "Parent+ older/Nested Folder/Sub Nested Folder"

Logs:
2026-02-25 04:13:15 DBG v2/filters.go:76 Running pre-processing function name=folderQuoteRegEx value=Parent+Folder/Nested+Folder/Sub+Nested+Folder
2026-02-25 04:13:15 DBG service/dashboards.go:171 folder quote filter applied to string
2026-02-25 04:13:15 DBG service/dashboards.go:322 Skipping dashboard, as it failed the filter check title=WirelessDrilldown folder=Parent+Folder/Nested+Folder/Sub+Nested+Folder

I am trying to download all teh dashboards from a sub nested folder,
I tried thebelow options

  1. Double quoting the folder name string
    1. Single quote the folder name string
    1. Replaced + with actual space

But no luck on getting the filter applies, i am sure i might bemissing something here

onfig section
watched:
- Parent+Folder
- Parent+Folder/Nested+Folder
- Parent+Folder/Nested+Folder/Sub+Nested+Folder
dashboard_settings:
ignore_filters: false
watched_folders_override: []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions