Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-22580

Implement system variables into confluence/spaces/pages so macros and other features can call them.

XMLWordPrintable

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Allow administrators to create both global and space variables.
      For Example:

      • Space Administrator creates a variable called currentversion and sets it to 3.5, users can then put %currentversion% into their pages to show that variable.
      • Confluence Administrator creates a variable called messageoftheday and sets it to "Live long and prosper". Users can put %messageoftheday% wherever they want.
      • Space Administrator creates a variable in their space called todayslunch and sets it to "Pizza". Other users can call that variable from that space by using %food|todayslunch%

      Allow users to call built in variables
      For Example:

      • %_pagename% to get the current pagename.
      • %_spacename% to get the current spacename.
      • %_createdby% to get the user who created the page.

      Allow macros to use those variables
      For Example:

      • You want to list all pages that have the label %_pagename% in another space. In the labellist macro you can use system, global and space variables instead of writing down labels. Perfect when using templates.

      Allow users and page templates to put variables into labels
      For Example:

      • Set a label to %_createdby%. Then you can list all pages created by some user.

              Unassigned Unassigned
              7137cb58559e Elvar Bjarki Böðvarsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: