Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A query fetches data from one of your datasources. Its properties largely depend on the type of datasource being used.

Table of Contents
maxLevel2

...

  • @username - the username of the current Confluence user
  • @userfullname - the full name of the current Confluence user
  • @usermail - the email address of the current Confluence user
  • @page - the title of the current Confluence page/blogpost
  • @pageid - the ID of the current Confluence page/blogpost
  • @spacekey - the space key of the current Confluence page/blogpost

For users that are not logged into Confluence @username, @userfullname and @usermail will return "anonymous".

Info

Note: When using a wildcard within the query statement or REST URL, it has to be prefixed with a colon to mark it as a parameter. So the resulting syntax is something like "SELECT * FROM mytable WHERE id LIKE :@pageid".

...