-
abs — Returns the absolute value of a number. The absolute value of a number is the number without its sign.
-
addComment — Posts a comment on the specified page or adds a reply to the specified comment.
-
addGroupToContentPermission — Adds a selected group to a content permission (usually to a page permission) if the group is not in that permission already.
-
addGroupToSpacePermission routine — Adds a given group to a space permission if the group is not in that permission already.
-
addLabels — Adds one or multiple labels to a given page.
-
addMonths — Adds a number of months to a specified date, preserving the day of month where possible.
-
addUserToContentPermission — Adds a single user to a content permission if the user is not already in that permission.
-
addUserToGroup — Adds a single user to a group if the user is not in that group already.
-
addUserToSpacePermission routine — Adds a single user to a space permission if the user is not already in that permission.
-
addWebhookResponseHeader — Adds an HTTP header to the response that will be returned to the Webhook caller.
-
admActivateUser — Activates a user, setting its active flag to 'true', if the update is allowed.
-
admAddSpaceCategory — Adds a category in the space.
-
admArchiveSpace — Archives a space (takes a space key as a parameter).
-
admClearCache — Clears the internal cache.
-
admCloneSpace — Clones space with pages, labels, categories, attachments, permissions and look and feel.
-
admCreateGroup — Create a single group to a project role if the group does not already exist.
-
admCreateSpace — Creates a new space, optionally offering support for the category of the space.
-
admCreateUser — Creates a new user.
-
admDeactivateUser — De-activates a user (sets its active flag to 'false' or removes it from all groups associated to global login permissions).
-
admDeleteSpace — Permanently deletes a space from Confluence.
-
admDeleteSpaceCategory — Deletes a category from the space.
-
admGetSpace — Returns an instance of CSpace struct, takes a space key as a parameter.
-
admGetSpaceCategories — Returns the space categories (all).
-
admGetSpaceCategory — Returns a space category by name (takes a space key and space category as parameters).
-
admGetSpaceLayout — Returns a layout - a list of custom decorators defined for a specific space only (does not retrieve global decorators).
-
admGetSpaces — Takes a category name and returns an array of spaces (CSpace structs) in that category.
-
admGetSpaceStylesheet — Returns the custom stylesheet that has been stored against a space.
-
admSetSpaceLayout — Creates a decorator for the given spaceKey with the given name, and saves it.
-
admSetSpaceStylesheet — Adds a space stylesheet to customize the look and feel of a single space within Confluence.
-
admSpaceExists — Returns 'true' if space with provided key exists and 'false' otherwise.
-
admUnarchiveSpace — Unarchives a space (takes a space key as a parameter).
-
admUpdateSpace — Updates the space properties (takes space key and an instance of CSpace struct as parameters).
-
appendToWebhookResponse — Adds an object to the response that will be returned to the Webhook caller, as the HTTP body.
-
arrayAddElement — If elem is an element of the array type, returns a new array that includes the specified element at the end.
-
arrayAddElementIfNotExist — If elem is an element of the array type, returns a new array that includes the specified element at the end. The element is added only if it is not already in the array.
-
arrayDeleteElement — If elem is an element of the array type, returns a new array without the specified element.
-
arrayDeleteElementAt — If index is less than the array size, returns a new array without the element at the specified index.
-
arrayDiff — Difference between two arrays. Returns the elements from the first array that do not exist in the second array.
-
arrayElementExists — Returns "true" if the element exists in the array and "false" otherwise.
-
arrayFind — Finds an element inside the collection and returns its index. If the element is not found, it returns -1.
-
arrayFindBinary — Binary search on sorted array. If the element is not found, returns -1.
-
arrayGetElement — Returns the element at the specified index.
-
arrayIntersect — Intersect between two arrays.
-
arrayKeys — Returns the keys of the array.
-
arrayKeySort — Sorts the elements from an array by their keys. Works with keyed arrays only.
-
arraysConcat — Adds the elements of the second array to the first one.
-
arraySetElement — If elem is an element of the array type, returns a new array with the specified element on position index1.
-
arraySize — Returns the size of the given array.
-
arraySort — Sorts the elements from an array.
-
arrayStructMap — Returns an indexed array of structs mapped to a given field name.
-
arrayStructSort — Sorts the elements from an array by their specified field. Works only with arrays that contain structures.
-
arrayToSet — Converts an array to a set of unique elements.
-
arrayUnion — Union between two arrays.
-
attachFile — Adds an attachment to a selected page.
-
attachFileFromURL — Adds an attachment located on an URL path to a selected page.
-
base64Decode — Decodes from Base64. This is useful when transferring data like retrieving images stored in a database.
-
base64Encode — Encodes text in Base64.
-
bitwise_and — Takes two numbers as operands and does AND on every bit of two numbers.
-
bitwise_lshift — Takes two numbers, left shifts the bits of the first operand, the second operand decides the number of places to shift.
-
bitwise_not — Takes one number and inverts all bits of it.
-
bitwise_or — Takes two numbers as operands and does OR on every bit of two numbers.
-
bitwise_rshift — Takes two numbers, right shifts the bits of the first operand, the second operand decides the number of places to shift.
-
bitwise_rushift — Takes two numbers, right shifts the bits of the first operand.The vacant leftmost position is filled with 0 instead of the sign bit.
-
bitwise_xor — Takes two numbers as operands and does XOR on every bit of two numbers.
-
blogExists — Verifies whether a given blog is a registered Confluence blog.
-
-
-
chop — Returns nmb characters from str, starting with the leftmost character.
-
clonePage — Clones the page and returns the id of the cloned page.
-
clonePageTree — Clones the page tree with its permissions.
-
comalaActivateSpaceWorkflow — Activate workflow in space.
-
-
comalaGetPageWorkflow — Returns the workflow that is set on a specified page.
-
comalaGetSpaceWorkflows — Returns a list of workflows that exist in the selected space.
-
comalaGetState — Gets the workflow state of the page from the Comala Document Management add-on.
-
comalaLoadWorkflowToPage — Sets workflows to the page according to a given markup.
-
comalaLoadWorkflowToSpace — Sets workflows to the space according to a given markup.
-
comalaRemoveAllWorkflowsFromSpace — Removes all workflows that exist in the selected space.
-
comalaRemoveWorkflowFromPage — Removes workflow of the selected page.
-
comalaRemoveWorkflowFromSpace — Removes the selected workflow that exists in the specified space.
-
comalaSetState — Sets the workflow state of the page using the Comala Document Management add-on.
-
contains — Returns true if character expression str2 is in character expression str1.
-
copyAttachment — Copies an attachment from one page to another.
-
copyAttachmentById — Copies the attachment for the provided id from one page to another.
-
copyPageContent — Copies page content from one page to another.
-
-
countBlogs — Returns the number of blogs contained in the selected space.
-
countPages — Returns the number of pages that matched the CQL search query.
-
createBlog — Creates a blog based on the provided arguments.
-
createDirectory — Returns "true" if the directory was created successfully and "false" otherwise.
-
createFile — Creates an empty file.
-
createPage — Creates an issue based on the provided arguments.
-
currentDate — Returns the current date.
-
currentUser — Returns the key for the user that invoked the script.
-
currentUserFullName — Returns the full name (firstname, lastname) of the user that triggered the script.
-
currentUserName — Returns the user name (login) for the user that invoked the script containing currentUserName.
-
-
day — Returns a number representing the day of month: 1-31.
-
dayOfWeek — Returns the day of week.
-
decrypt — Decrypts text with AES Decryption using a 16, 32, 64, or 128 bit cipher.
-
-
deleteAttachment — Deletes the attachment for a given id or for a specified page and file name.
-
deleteAttachmentVersion — Deletes the attachment version.
-
deleteBlog — Places the selected blog in the trash.
-
deleteComment — Deletes a comment with the specified id, deletes the latest comment or deletes all comments from a given page.
-
deleteFile — Deletes a file. It also returns "true" if the file was deleted successfully and "false" otherwise.
-
deletePage — Deletes the selected page.
-
deletePageTree — Deletes the selected page and all its child pages.
-
directoryExists — Returns "true" if the directory exists and "false" otherwise.
-
-
editComment — Edits a comment with the specified id and text. Returns the comment representation after the edit.
-
encrypt — Encrypts text with AES encryption using a 16, 32, 64, or 128 bit cipher.
-
endOfMonth — Returns a date set on the last day of the month for the given date.
-
endsWith — Returns true if str1 ends with str2.
-
escapeHtml — Escapes the given html removing traces of offending characters that could be wrongfully interpreted as markup.
-
excludeSubarray — Returns an array excluding the array that starts at index 'start' and ends at index 'end'.
-
executeTemplate — Executes a template. All variables already defined in the script are passed to that template.
-
-
-
fileClose — Closes a previously opened file and removes it from memory.
-
fileContains — Returns "true" if the file contains any string that matches the specified regex.
-
fileCopy — Copy a file from one location to another.
-
fileExists — Returns 'true' if the file exists and 'false' otherwise.
-
fileInfo — Returns basic file information about a file such as the date it was created.
-
fileMove — Moves a file from one location to another.
-
fileOpen — Opens a file in memory so that it may be read from.
-
fileRead — Reads a byte array from a file until it reaches the specified length or until the EOF is reached.
-
fileReadByte — Reads a byte from an open file.
-
fileReadLine — Reads a line of text from an open file until it reaches the end of the line (\n or \r\n). Stops also on EOF (end of file).
-
fileSeek — Moves the file pointer to a specific spot in an already open file. If the position is negative, moves the file pointer at the end of the file. If the position is 0 (zero) it moves the pointer at the beginning of the file.
-
fileSHA256Checksum — Returns the SHA256 checksum of the file.
-
fileSize — Returns the size for a given file.
-
fileTruncate — Clears the content of the specified file. Creates a new file if the one you want to clear content for doesn’t exist.
-
fileWrite — Writes text or byte data to an open file.
-
findDirectories — Searches for directories that match the given regex in the specified folder.
-
findFiles — Searches for files that match the given regex in the specified folder.
-
-
formatDate — Formats the given date into a date/time string accordingly to the given format expression.
-
-
-
getAllCommentIds — Gets all the comment IDs that are already entered on a page.
-
getAllGroups — Gets a list of all groups in Confluence.
-
getAllSpaces — Returns a string array with the keys of all spaces in Confluence.
-
getAttachment — Returns CAttachment with the following fields: id, pageId, spaceKey, version, creationDate, lastModificationDate, size, name.
-
getBlog — Retrieves a blog ID by searching for space key, blog title and posting date.
-
getBlogs — Returns all blogss of a space, by space key.
-
getBlogsInPeriod — Returns blogs of a space, by space key, date and period.
-
getBlogURL — Retrieves a blog URL by blog ID.
-
getChildPages — Get the list of child pages (direct children) for a selected page.
-
getCommentById — Gets all the comment properties for a given id.
-
getComments — Returns comments for a given page.
-
getConfluenceBaseUrl — This routine returns Confluence base url where the SIL script is called.
-
getLastComment — Gets all the comment properties for the last page comment.
-
getNewestBlog — Retrieves a newest blog ID for space, by space key.
-
getPage — Retrieves a page ID by searching for space key and page title. The routine will return a -1 if the page is not found.
-
getPages — Returns all descendants of a page (all levels, not only direct children) or a set of pages matching space key and title.
-
getPageURL — Returns the URL of the page.
-
getPersistentVar — Gets the persistent var, as a string
-
getScheduledJobKeys — Returns the list of scheduled jobs keys.
-
getScheduledJobKeysByScript — Returns the list of scheduled jobs keys by the path of the script they use and the optional parameter args.
-
getSpaceKeyByName — Retrieves the key for the space with the given name.
-
getUser — Gets the user by username or key.
-
getUserByEmail — Gets the user by email address.
-
getUserByFullName — Gets the user by their full name.
-
getUserDirectoryName — Returns the directory name the user belongs to (takes user name or key as a parameter).
-
getUserKeysFromEmails — Finds the corresponding user keys for a list of email addresses.
-
getUserProperty — Gets the specified user property.
-
getWebhookPayload — Gets the Webhook payload from the calling client.
-
groupExists — Verifies if the selected group is a registered Confluence group.
-
groupHasContentPermission — Checks if a group has the specified content permission.
-
groupHasSpacePermission routine — Checks if a group has the specified space permission.
-
groupSpacePermissions routine — Returns the permissions of the provided group in the space.
-
hashString — Returns a consistent hash to be used across systems.
-
hasUserProperty — Checks if the user has the given property set.
-
hour — Returns the hour of the provided date: 0-23.
-
httpBasicAuthHeader — Creates an HttpHeader object to be used as Authorization header for a Basic authentication of a user.
-
httpCreateCookie — Creates an HttpCookie object.
-
httpCreateHeader — Creates an HttpHeader object.
-
httpCreateParameter — Creates an HttpQueryParam object.
-
httpDelete — Executes an HTTP DELETE for a given URL using the specified HttpRequest object.
-
httpGet — Executes an HTTP GET for the given URL using the specified HttpRequest object.
-
-
-
-
-
httpGetResponseInfo — Retrieves the complete response information (if existing) from the latest HTTP routine call.
-
-
httpOptions — Executes an HTTP OPTIONS for the given URL using the specified HttpRequest object.
-
httpPatch — Executes an HTTP PATCH for the given URL using the specified HttpRequest object.
-
httpPost — Executes an HTTP POST for the given URL using the specified HttpRequest object.
-
httpPut — Executes an HTTP PUT for the given URL using the specified HttpRequest object.
-
i18nText — Returns the i18n text if the key can be resolved. Otherwise, the key itself will be returned.
-
indexOf — Returns the index of the first match of the str2 in str1 or -1 if str2 is nowhere to be found in str1.
-
isAlpha — Returns "true" if the provided argument str is a string containing only letters.
-
isAlphaNumeric — Returns "true" if the provided argument str is a string containing only letters and digits.
-
isAnyUserAuthenticated — Verifies if there is a logged in user.
-
isDigit — Returns "true" if the provided argument str is a string containing only digits.
-
isLower — Returns "true" if the provided argument stris a string containing only lowercase letters.
-
isNotNull — Checks if the provided variable is not null or has a value associated and returns true. Otherwise returns false.
-
isNull — Checks if the provided variable is null or has no value associated then returns "true", otherwise returns "false".
-
isNumeric — Returns "true" if the provided argument stris actually a number.
-
isUpper — Returns "true" if the provided argument str is a string containing only upper letters.
-
join — Returns the string obtained by concatenating all the strings from the array using the provided delimiter.
-
lastExceptionClass — Returns the class of a Java class exception when an error is thrown.
-
lastExceptionMessage — Returns the message of a Java class exception when an error is thrown.
-
lastIndexOf — Returns the index within a string of the last occurrence of the specified substring.
-
ldapUserAttr — Returns an array of the requested attribute.
-
ldapUserList — Returns an array of the requested attributes for all users matching the query.
-
ldapUserStruct — Returns an array of JLdapUserStruct representing all users matched by the query.
-
length — Returns the length of the provided string, 0 if the string is null or has no chars.
-
-
-
logPrint — Prints a message in the configured Jira logs on the specified level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL.
-
matchEnd — Returns the position where the match ends or -1 if it doesn't match.
-
matches — Returns "true" if character expression string matches the regular expression regex.
-
matchReplace — Uses a regex expression to find and replace text within a string.
-
matchStart — Returns the position where the match starts or -1 if it doesn't match.
-
matchText — Returns the text matched or empty string if it doesn't match.
-
millisToDate — Converts milliseconds to a date.
-
millisToInterval — Converts milliseconds to a time interval.
-
minute — Returns the minutes of the provided date: 0-59.
-
month — Returns a number representing the month of the provided date (1-12).
-
monthName — Returns the month name of the provided date.
-
moveBlog — Moves the selected blog to a new space.
-
movePage — Moves the selected page to a new parent page.
-
pageExists — Verifies whether a given page is a registered Confluence page.
-
parseDate — Returns the parsed date according to the format you provided. If parse fails, it will return a null date.
-
permanentDeleteBlog — Permanently delete a given blog.
-
-
-
print — Returns the printable string in the application log.
-
printInFile — Prints in the specified file the provided value.
-
-
-
-
readFromBinaryFile — Read the text of a binary file.
-
readFromCSVFile — Reads the values from the CSV file, returning them to an array, of N rows * M columns values.
-
readFromTextFile — Read the text of the file.
-
removeAllGroupRestrictionsFromContent — Removes all group restrictions on the page for the selected group
-
removeAllUserRestrictionsFromContent — Removes all user restrictions on the page for the user
-
removeGroupFromContentPermission — Removes a single group from a content permission if the group is in that permission.
-
removeGroupFromSpacePermission routine — Removes a single group from a space permission if the group is in that permission.
-
removeUserFromContentPermission — Removes a single user from a content permission if the user is in that permission.
-
removeUserFromGroup — Removes a single user from a group if the user is in that group.
-
removeUserFromSpacePermission routine — Removes a single user from a space permission if the user is in that permission.
-
renameFile — Renames a file.
-
replace — Replaces the search_str string with replacement_str in str and returns the resulting string.
-
-
-
runJobAt — Runs a job at the specified date.
Manage space
Manage content
Integrations
App links