Use Confluence user names as list options

Overview

Let's create a form where you can use pull-down menus or list boxes to select certain users. The list of users in the pull-down menu or list box are taken from Confluence user groups.

Ingredients

Apps

Scaffolding

Macros

List Data, User Options

Guide

  1. Create a table as shown:

  1. Using the List Data and User Options macros, fill in the table as shown the following image:

  1. Edit each List Data macro and give them relevant names.

Also, you can select the Allow Multiple checkbox to display the List Data with names as a pull-down menu or list box.

  1. Edit each User Options macro and specify in the parameters which users you want to display.

    • You can display users according to groups, spaces, or, by their specific usernames.
      You have now created a table with options populated by users from your Confluence user groups.

  2. Click Edit Contents to fill in the table using the pull-down menus or list boxes you created.

Notes

Only users with the required access to the specified spaces will be listed.

Permissions can be specified for each space. You can use @self as the spacekey for the current space.

For example:

  • SPACEKEY:view - (default permission) only users with view access to the SPACEKEY are listed

  • SPACEKEY:edit - only users with edit access to the space are listed

  • SPACEKEY:admin - only users with administration access to the space are listed

  • SPACEKEY:blog - only users who can post a blog (a.k.a. News) message are listed

Result