...
Panel |
---|
|
Variable |
|
|
---|
[owner] | current record owner (ownedBy field) or Anonymous (when user is "Anonymous") |
| [modifier] [user] | current record modifier (User's full name) |
| [now] | Current timestamp |
| [user.name] | current user's username |
| [user.fullName] | current user's full name |
| [user.email] | current user's email |
| [entry._user] | current user object (can access email, name, and fullname, see accessing properties for user fields) | User field | [entry._now] | current timestamp, which can be converted to date using Virtual functions or used for comparison against other date/datetime fields | Datetime | [entry._page] | current page id (present in most cases, but not always) | Page | [entry._today] | current timestamp (for date, without time) | Date |
|
See also
Configuring ConfiForms IFTTT actions
Important note about IFTTT macros with macro bodies which are evaluated as velocity templates - there is additional context variables available
Info |
---|
Standard set of objects inside the context (Velocity templates)
context.put("entry", entry); <- ConfiForms Entry (raw) context.put("user", user); <- Confluence user object context.put("page", contentObject); <- AbstractPage object |
which you can referece as any other variable in Velocity using velocity syntax, for example: ${page.id} to reference page id of current page