Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-14180

Add support for Bandana globbing/wildcards

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      Storage options for plugins in Confluence are pretty limited, so it would be great if Bandana was enhanced and the use of globbing/wildcards was allowed for data retrieval.

      Let's say that we have these key:value pairs stored in bandana:

      my.bandana.plugin.group1.subgroup1.subsubgroup1.id => { object a }
      my.bandana.plugin.group1.subgroup1.subsubgroup1.id => { object b }
      my.bandana.plugin.group1.subgroup2.subsubgroup1.id => { object c }
      my.bandana.plugin.group1.subgroup2.subsubgroup2.id => { object d }
      my.bandana.plugin.group2.subgroup1.subsubgroup1.id => { object e }
      

      It would save plugin developers a lot of hassle, if it was possible to retrieve all values of subgrup1 with a single call:

      bandanaManager.get("my.bandana.plugin.group1.subgroup1.*"));
      

      In the call above * is a wildcard, and the query means that any value with a key that starts with "my.bandana.plugin.group1.subgroup1." should be returned.

      For extra flexibility, it should be possible to place the wildcard at any position in the query string (not only at the end).

      Related forums discussion: http://forums.atlassian.com/thread.jspa?messageID=257297398

      Attachments

        Issue Links

          Activity

            People

              barconati BillA
              15d9a6950818 Igor Minar
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: