Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
-
Page:
abs
—
Returns the absolute value of a number. The absolute value of a number is the number without its sign.
-
Page:
addComment
—
Posts a comment on the specified page or adds a reply to the specified comment.
-
Page:
addGroupToContentPermission
—
Adds a selected group to a content permission (usually to a page permission) if the group is not in that permission already.
-
Page:
-
Page:
addLabels
— Adds one or multiple labels to a given page.
-
Page:
addMonths
—
Adds a number of months to a specified date, preserving the day of month where possible.
-
Page:
-
Page:
addUserToGroup
— Adds a single user to a group if the user is not in that group already.
-
Page:
-
Page:
-
Page:
admActivateUser
—
Activates a user, setting its active flag to 'true', if the update is allowed.
-
Page:
-
Page:
-
Page:
-
Page:
admCloneSpace
—
Clones space with pages, labels, categories, attachments, permissions and look and feel.
-
Page:
admCreateGroup
—
Create a single group to a project role if the group does not already exist.
-
Page:
admCreateSpace
—
Creates a new space, optionally offering support for the category of the space.
-
Page:
-
Page:
admDeactivateUser
—
De-activates a user (sets its active flag to 'false' or removes it from all groups associated to global login permissions).
-
Page:
-
Page:
-
Page:
admGetSpace
—
Returns an instance of CSpace struct, takes a space key as a parameter.
-
Page:
-
Page:
admGetSpaceCategory
—
Returns a space category by name (takes a space key and space category as parameters).
-
Page:
admGetSpaceLayout
—
Returns a layout - a list of custom decorators defined for a specific space only (does not retrieve global decorators).
-
Page:
admGetSpaces
—
Takes a category name and returns an array of spaces (CSpace structs) in that category.
-
Page:
-
Page:
admSetSpaceLayout
—
Creates a decorator for the given spaceKey with the given name, and saves it.
-
Page:
admSetSpaceStylesheet
—
Adds a space stylesheet to customize the look and feel of a single space within Confluence.
-
Page:
admSpaceExists
—
Returns 'true' if space with provided key exists and 'false' otherwise.
-
Page:
-
Page:
admUpdateSpace
—
Updates the space properties (takes space key and an instance of CSpace struct as parameters).
-
Page:
appendToWebhookResponse
—
Adds an object to the response that will be returned to the Webhook caller, as the HTTP body.
-
Page:
arrayAddElement
—
If elem is an element of the array type, returns a new array that includes the specified element at the end.
-
Page:
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.
-
Page:
arrayDeleteElement
— If elem is an element of the array type, returns a new array without the specified element.
-
Page:
arrayDeleteElementAt
— If index is less than the array size, returns a new array without the element at the specified index.
-
Page:
arrayDiff
— Difference between two arrays. Returns the elements from the first array that do not exist in the second array.
-
Page:
arrayElementExists
— Returns "true" if the element exists in the array and "false" otherwise.
-
Page:
arrayFind
— Finds an element inside the collection and returns its index. If the element is not found, it returns -1.
-
Page:
arrayFindBinary
— Binary search on sorted array. If the element is not found, returns -1.
-
Page:
-
Page:
-
Page:
-
Page:
arrayKeySort
— Sorts the elements from an array by their keys. Works with keyed arrays only.
-
Page:
arraysConcat
— Adds the elements of the second array to the first one.
-
Page:
arraySetElement
— If elem is an element of the array type, returns a new array with the specified element on position index1.
-
Page:
arraySize
— Returns the size of the given array.
-
Page:
arraySort
— Sorts the elements from an array.
-
Page:
arrayStructMap
— Returns an indexed array of structs mapped to a given field name.
-
Page:
arrayStructSort
— Sorts the elements from an array by their specified field. Works only with arrays that contain structures.
-
Page:
arrayToSet
— Converts an array to a set of unique elements.
-
Page:
-
Page:
attachFile
—
Adds an attachment to a selected page.
-
Page:
-
Page:
base64Decode
—
Decodes from Base64. This is useful when transferring data like retrieving images stored in a database.
-
Page:
-
Page:
bitwise_and
—
Takes two numbers as operands and does AND on every bit of two numbers.
-
Page:
bitwise_lshift
—
Takes two numbers, left shifts the bits of the first operand, the second operand decides the number of places to shift.
-
Page:
bitwise_not
—
Takes one number and inverts all bits of it.
-
Page:
bitwise_or
—
Takes two numbers as operands and does OR on every bit of two numbers.
-
Page:
bitwise_rshift
—
Takes two numbers, right shifts the bits of the first operand, the second operand decides the number of places to shift.
-
Page:
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.
-
Page:
bitwise_xor
—
Takes two numbers as operands and does XOR on every bit of two numbers.
-
Page:
blogExists
—
Verifies whether a given blog is a registered Confluence blog.
-
Page:
-
Page:
-
Page:
chop
— Returns nmb characters from str, starting with the leftmost character.
-
Page:
clonePage
— Clones the page and returns the id of the cloned page.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
comalaGetState
—
Gets the workflow state of the page from the Comala Document Management add-on.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
comalaSetState
—
Sets the workflow state of the page using the Comala Document Management add-on.
-
Page:
contains
— Returns true if character expression str2 is in character expression str1.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
countBlogs
—
Returns the number of blogs contained in the selected space.
-
Page:
countPages
— Returns the number of pages that matched the CQL search query.
-
Page:
createBlog
—
Creates a blog based on the provided arguments.
-
Page:
createDirectory
—
Returns "true" if the directory was created successfully and "false" otherwise.
-
Page:
-
Page:
createPage
— Creates an issue based on the provided arguments.
-
Page:
-
Page:
currentUser
— Returns the key for the user that invoked the script.
-
Page:
currentUserFullName
— Returns the full name (firstname, lastname) of the user that triggered the script.
-
Page:
currentUserName
— Returns the user name (login) for the user that invoked the script containing currentUserName.
-
Page:
-
Page:
day
— Returns a number representing the day of month: 1-31.
-
Page:
-
Page:
decrypt
— Decrypts text with AES Decryption using a 16, 32, 64, or 128 bit cipher.
-
Page:
-
Page:
deleteAttachment
—
Deletes the attachment for a given id or for a specified page and file name.
-
Page:
-
Page:
deleteBlog
—
Places the selected blog in the trash.
-
Page:
deleteComment
—
Deletes a comment with the specified id, deletes the latest comment or deletes all comments from a given page.
-
Page:
deleteFile
— Deletes a file. It also returns "true" if the file was deleted successfully and "false" otherwise.
-
Page:
-
Page:
-
Page:
directoryExists
— Returns "true" if the directory exists and "false" otherwise.
-
Page:
-
Page:
editComment
—
Edits a comment with the specified id and text. Returns the comment representation after the edit.
-
Page:
encrypt
— Encrypts text with AES encryption using a 16, 32, 64, or 128 bit cipher.
-
Page:
endOfMonth
— Returns a date set on the last day of the month for the given date.
-
Page:
endsWith
— Returns true if str1 ends with str2.
-
Page:
escapeHtml
—
Escapes the given html removing traces of offending characters that could be wrongfully interpreted as markup.
-
Page:
excludeSubarray
— Returns an array excluding the array that starts at index 'start' and ends at index 'end'.
-
Page:
executeTemplate
— Executes a template. All variables already defined in the script are passed to that template.
-
Page:
-
Page:
-
Page:
fileClose
—
Closes a previously opened file and removes it from memory.
-
Page:
fileContains
— Returns "true" if the file contains any string that matches the specified regex.
-
Page:
fileCopy
— Copy a file from one location to another.
-
Page:
fileExists
— Returns 'true' if the file exists and 'false' otherwise.
-
Page:
fileInfo
— Returns basic file information about a file such as the date it was created.
-
Page:
fileMove
— Moves a file from one location to another.
-
Page:
fileOpen
—
Opens a file in memory so that it may be read from.
-
Page:
fileRead
—
Reads a byte array from a file until it reaches the specified length or until the EOF is reached.
-
Page:
-
Page:
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).
-
Page:
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.
-
Page:
-
Page:
fileSize
— Returns the size for a given file.
-
Page:
fileTruncate
— Clears the content of the specified file. Creates a new file if the one you want to clear content for doesn’t exist.
-
Page:
fileWrite
—
Writes text or byte data to an open file.
-
Page:
findDirectories
— Searches for directories that match the given regex in the specified folder.
-
Page:
findFiles
—
Searches for files that match the given regex in the specified folder.
-
Page:
-
Page:
formatDate
— Formats the given date into a date/time string accordingly to the given format expression.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
getAllSpaces
—
Returns a string array with the keys of all spaces in Confluence.
-
Page:
getAttachment
—
Returns CAttachment with the following fields: id, pageId, spaceKey, version, creationDate, lastModificationDate, size, name.
-
Page:
getBlog
—
Retrieves a blog ID by searching for space key, blog title and posting date.
-
Page:
getBlogs
—
Returns all blogss of a space, by space key.
-
Page:
-
Page:
-
Page:
getChildPages
— Get the list of child pages (direct children) for a selected page.
-
Page:
-
Page:
-
Page:
-
Page:
getLastComment
—
Gets all the comment properties for the last page comment.
-
Page:
getNewestBlog
—
Retrieves a newest blog ID for space, by space key.
-
Page:
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.
-
Page:
getPages
— Returns all descendants of a page (all levels, not only direct children) or a set of pages matching space key and title.
-
Page:
-
Page:
-
Page:
-
Page:
getScheduledJobKeysByScript
— Returns the list of scheduled jobs keys by the path of the script they use and the optional parameter args.
-
Page:
-
Page:
getUser
— Gets the user by username or key.
-
Page:
-
Page:
-
Page:
getUserDirectoryName
— Returns the directory name the user belongs to (takes user name or key as a parameter).
-
Page:
-
Page:
-
Page:
-
Page:
groupExists
— Verifies if the selected group is a registered Confluence group.
-
Page:
-
Page:
-
Page:
-
Page:
hashString
— Returns a consistent hash to be used across systems.
-
Page:
-
Page:
hour
— Returns the hour of the provided date: 0-23.
-
Page:
httpBasicAuthHeader
—
Creates an HttpHeader object to be used as Authorization header for a Basic authentication of a user.
-
Page:
-
Page:
-
Page:
-
Page:
httpDelete
—
Executes an HTTP DELETE for a given URL using the specified HttpRequest object.
-
Page:
httpGet
—
Executes an HTTP GET for the given URL using the specified HttpRequest object.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
httpGetResponseInfo
— Retrieves the complete response information (if existing) from the latest HTTP routine call.
-
Page:
-
Page:
httpOptions
—
Executes an HTTP OPTIONS for the given URL using the specified HttpRequest object.
-
Page:
httpPatch
—
Executes an HTTP PATCH for the given URL using the specified HttpRequest object.
-
Page:
httpPost
—
Executes an HTTP POST for the given URL using the specified HttpRequest object.
-
Page:
httpPut
—
Executes an HTTP PUT for the given URL using the specified HttpRequest object.
-
Page:
i18nText
— Returns the i18n text if the key can be resolved. Otherwise, the key itself will be returned.
-
Page:
indexOf
— Returns the index of the first match of the str2 in str1 or -1 if str2 is nowhere to be found in str1.
-
Page:
isAlpha
— Returns "true" if the provided argument str is a string containing only letters.
-
Page:
isAlphaNumeric
— Returns "true" if the provided argument str is a string containing only letters and digits.
-
Page:
-
Page:
isDigit
— Returns "true" if the provided argument str is a string containing only digits.
-
Page:
isLower
— Returns "true" if the provided argument stris a string containing only lowercase letters.
-
Page:
isNotNull
— Checks if the provided variable is not null or has a value associated and returns true. Otherwise returns false.
-
Page:
isNull
— Checks if the provided variable is null or has no value associated then returns "true", otherwise returns "false".
-
Page:
isNumeric
— Returns "true" if the provided argument stris actually a number.
-
Page:
isUpper
— Returns "true" if the provided argument str is a string containing only upper letters.
-
Page:
join
— Returns the string obtained by concatenating all the strings from the array using the provided delimiter.
-
Page:
-
Page:
-
Page:
lastIndexOf
— Returns the index within a string of the last occurrence of the specified substring.
-
Page:
-
Page:
ldapUserList
—
Returns an array of the requested attributes for all users matching the query.
-
Page:
ldapUserStruct
—
Returns an array of JLdapUserStruct representing all users matched by the query.
-
Page:
length
— Returns the length of the provided string, 0 if the string is null or has no chars.
-
Page:
-
Page:
-
Page:
logPrint
— Prints a message in the configured Jira logs on the specified level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL.
-
Page:
matchEnd
— Returns the position where the match ends or -1 if it doesn't match.
-
Page:
matches
— Returns "true" if character expression string matches the regular expression regex.
-
Page:
matchReplace
—
Uses a regex expression to find and replace text within a string.
-
Page:
matchStart
— Returns the position where the match starts or -1 if it doesn't match.
-
Page:
matchText
— Returns the text matched or empty string if it doesn't match.
-
Page:
-
Page:
-
Page:
minute
— Returns the minutes of the provided date: 0-59.
-
Page:
month
— Returns a number representing the month of the provided date (1-12).
-
Page:
monthName
— Returns the month name of the provided date.
-
Page:
moveBlog
—
Moves the selected blog to a new space.
-
Page:
movePage
— Moves the selected page to a new parent page.
-
Page:
pageExists
— Verifies whether a given page is a registered Confluence page.
-
Page:
parseDate
— Returns the parsed date according to the format you provided. If parse fails, it will return a null date.
-
Page:
-
Page:
-
Page:
-
Page:
print
— Returns the printable string in the application log.
-
Page:
printInFile
— Prints in the specified file the provided value.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
readFromCSVFile
— Reads the values from the CSV file, returning them to an array, of N rows * M columns values.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
replace
— Replaces the search_str string with replacement_str in str and returns the resulting string.
-
Page:
-
Page:
-
Page:
runJobAt
— Runs a job at the specified date.
-
Page:
abs
—
Returns the absolute value of a number. The absolute value of a number is the number without its sign.
-
Page:
addComment
—
Posts a comment on the specified page or adds a reply to the specified comment.
-
Page:
addGroupToContentPermission
—
Adds a selected group to a content permission (usually to a page permission) if the group is not in that permission already.
-
Page:
-
Page:
addLabels
— Adds one or multiple labels to a given page.
-
Page:
addMonths
—
Adds a number of months to a specified date, preserving the day of month where possible.
-
Page:
-
Page:
addUserToGroup
— Adds a single user to a group if the user is not in that group already.
-
Page:
-
Page:
-
Page:
admActivateUser
—
Activates a user, setting its active flag to 'true', if the update is allowed.
-
Page:
-
Page:
-
Page:
-
Page:
admCloneSpace
—
Clones space with pages, labels, categories, attachments, permissions and look and feel.
-
Page:
admCreateGroup
—
Create a single group to a project role if the group does not already exist.
-
Page:
admCreateSpace
—
Creates a new space, optionally offering support for the category of the space.
-
Page:
-
Page:
admDeactivateUser
—
De-activates a user (sets its active flag to 'false' or removes it from all groups associated to global login permissions).
-
Page:
-
Page:
-
Page:
admGetSpace
—
Returns an instance of CSpace struct, takes a space key as a parameter.
-
Page:
-
Page:
admGetSpaceCategory
—
Returns a space category by name (takes a space key and space category as parameters).
-
Page:
admGetSpaceLayout
—
Returns a layout - a list of custom decorators defined for a specific space only (does not retrieve global decorators).
-
Page:
admGetSpaces
—
Takes a category name and returns an array of spaces (CSpace structs) in that category.
-
Page:
-
Page:
admSetSpaceLayout
—
Creates a decorator for the given spaceKey with the given name, and saves it.
-
Page:
admSetSpaceStylesheet
—
Adds a space stylesheet to customize the look and feel of a single space within Confluence.
-
Page:
admSpaceExists
—
Returns 'true' if space with provided key exists and 'false' otherwise.
-
Page:
-
Page:
admUpdateSpace
—
Updates the space properties (takes space key and an instance of CSpace struct as parameters).
-
Page:
appendToWebhookResponse
—
Adds an object to the response that will be returned to the Webhook caller, as the HTTP body.
-
Page:
arrayAddElement
—
If elem is an element of the array type, returns a new array that includes the specified element at the end.
-
Page:
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.
-
Page:
arrayDeleteElement
— If elem is an element of the array type, returns a new array without the specified element.
-
Page:
arrayDeleteElementAt
— If index is less than the array size, returns a new array without the element at the specified index.
-
Page:
arrayDiff
— Difference between two arrays. Returns the elements from the first array that do not exist in the second array.
-
Page:
arrayElementExists
— Returns "true" if the element exists in the array and "false" otherwise.
-
Page:
arrayFind
— Finds an element inside the collection and returns its index. If the element is not found, it returns -1.
-
Page:
arrayFindBinary
— Binary search on sorted array. If the element is not found, returns -1.
-
Page:
-
Page:
-
Page:
-
Page:
arrayKeySort
— Sorts the elements from an array by their keys. Works with keyed arrays only.
-
Page:
arraysConcat
— Adds the elements of the second array to the first one.
-
Page:
arraySetElement
— If elem is an element of the array type, returns a new array with the specified element on position index1.
-
Page:
arraySize
— Returns the size of the given array.
-
Page:
arraySort
— Sorts the elements from an array.
-
Page:
arrayStructMap
— Returns an indexed array of structs mapped to a given field name.
-
Page:
arrayStructSort
— Sorts the elements from an array by their specified field. Works only with arrays that contain structures.
-
Page:
arrayToSet
— Converts an array to a set of unique elements.
-
Page:
-
Page:
attachFile
—
Adds an attachment to a selected page.
-
Page:
-
Page:
base64Decode
—
Decodes from Base64. This is useful when transferring data like retrieving images stored in a database.
-
Page:
-
Page:
bitwise_and
—
Takes two numbers as operands and does AND on every bit of two numbers.
-
Page:
bitwise_lshift
—
Takes two numbers, left shifts the bits of the first operand, the second operand decides the number of places to shift.
-
Page:
bitwise_not
—
Takes one number and inverts all bits of it.
-
Page:
bitwise_or
—
Takes two numbers as operands and does OR on every bit of two numbers.
-
Page:
bitwise_rshift
—
Takes two numbers, right shifts the bits of the first operand, the second operand decides the number of places to shift.
-
Page:
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.
-
Page:
bitwise_xor
—
Takes two numbers as operands and does XOR on every bit of two numbers.
-
Page:
blogExists
—
Verifies whether a given blog is a registered Confluence blog.
-
Page:
-
Page:
-
Page:
chop
— Returns nmb characters from str, starting with the leftmost character.
-
Page:
clonePage
— Clones the page and returns the id of the cloned page.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
comalaGetState
—
Gets the workflow state of the page from the Comala Document Management add-on.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
comalaSetState
—
Sets the workflow state of the page using the Comala Document Management add-on.
-
Page:
contains
— Returns true if character expression str2 is in character expression str1.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
countBlogs
—
Returns the number of blogs contained in the selected space.
-
Page:
countPages
— Returns the number of pages that matched the CQL search query.
-
Page:
createBlog
—
Creates a blog based on the provided arguments.
-
Page:
createDirectory
—
Returns "true" if the directory was created successfully and "false" otherwise.
-
Page:
-
Page:
createPage
— Creates an issue based on the provided arguments.
-
Page:
-
Page:
currentUser
— Returns the key for the user that invoked the script.
-
Page:
currentUserFullName
— Returns the full name (firstname, lastname) of the user that triggered the script.
-
Page:
currentUserName
— Returns the user name (login) for the user that invoked the script containing currentUserName.
-
Page:
-
Page:
day
— Returns a number representing the day of month: 1-31.
-
Page:
-
Page:
decrypt
— Decrypts text with AES Decryption using a 16, 32, 64, or 128 bit cipher.
-
Page:
-
Page:
deleteAttachment
—
Deletes the attachment for a given id or for a specified page and file name.
-
Page:
-
Page:
deleteBlog
—
Places the selected blog in the trash.
-
Page:
deleteComment
—
Deletes a comment with the specified id, deletes the latest comment or deletes all comments from a given page.
-
Page:
deleteFile
— Deletes a file. It also returns "true" if the file was deleted successfully and "false" otherwise.
-
Page:
-
Page:
-
Page:
directoryExists
— Returns "true" if the directory exists and "false" otherwise.
-
Page:
-
Page:
editComment
—
Edits a comment with the specified id and text. Returns the comment representation after the edit.
-
Page:
encrypt
— Encrypts text with AES encryption using a 16, 32, 64, or 128 bit cipher.
-
Page:
endOfMonth
— Returns a date set on the last day of the month for the given date.
-
Page:
endsWith
— Returns true if str1 ends with str2.
-
Page:
escapeHtml
—
Escapes the given html removing traces of offending characters that could be wrongfully interpreted as markup.
-
Page:
excludeSubarray
— Returns an array excluding the array that starts at index 'start' and ends at index 'end'.
-
Page:
executeTemplate
— Executes a template. All variables already defined in the script are passed to that template.
-
Page:
-
Page:
-
Page:
fileClose
—
Closes a previously opened file and removes it from memory.
-
Page:
fileContains
— Returns "true" if the file contains any string that matches the specified regex.
-
Page:
fileCopy
— Copy a file from one location to another.
-
Page:
fileExists
— Returns 'true' if the file exists and 'false' otherwise.
-
Page:
fileInfo
— Returns basic file information about a file such as the date it was created.
-
Page:
fileMove
— Moves a file from one location to another.
-
Page:
fileOpen
—
Opens a file in memory so that it may be read from.
-
Page:
fileRead
—
Reads a byte array from a file until it reaches the specified length or until the EOF is reached.
-
Page:
-
Page:
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).
-
Page:
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.
-
Page:
-
Page:
fileSize
— Returns the size for a given file.
-
Page:
fileTruncate
— Clears the content of the specified file. Creates a new file if the one you want to clear content for doesn’t exist.
-
Page:
fileWrite
—
Writes text or byte data to an open file.
-
Page:
findDirectories
— Searches for directories that match the given regex in the specified folder.
-
Page:
findFiles
—
Searches for files that match the given regex in the specified folder.
-
Page:
-
Page:
formatDate
— Formats the given date into a date/time string accordingly to the given format expression.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
getAllSpaces
—
Returns a string array with the keys of all spaces in Confluence.
-
Page:
getAttachment
—
Returns CAttachment with the following fields: id, pageId, spaceKey, version, creationDate, lastModificationDate, size, name.
-
Page:
getBlog
—
Retrieves a blog ID by searching for space key, blog title and posting date.
-
Page:
getBlogs
—
Returns all blogss of a space, by space key.
-
Page:
-
Page:
-
Page:
getChildPages
— Get the list of child pages (direct children) for a selected page.
-
Page:
-
Page:
-
Page:
-
Page:
getLastComment
—
Gets all the comment properties for the last page comment.
-
Page:
getNewestBlog
—
Retrieves a newest blog ID for space, by space key.
-
Page:
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.
-
Page:
getPages
— Returns all descendants of a page (all levels, not only direct children) or a set of pages matching space key and title.
-
Page:
-
Page:
-
Page:
-
Page:
getScheduledJobKeysByScript
— Returns the list of scheduled jobs keys by the path of the script they use and the optional parameter args.
-
Page:
-
Page:
getUser
— Gets the user by username or key.
-
Page:
-
Page:
-
Page:
getUserDirectoryName
— Returns the directory name the user belongs to (takes user name or key as a parameter).
-
Page:
-
Page:
-
Page:
-
Page:
groupExists
— Verifies if the selected group is a registered Confluence group.
-
Page:
-
Page:
-
Page:
-
Page:
hashString
— Returns a consistent hash to be used across systems.
-
Page:
-
Page:
hour
— Returns the hour of the provided date: 0-23.
-
Page:
httpBasicAuthHeader
—
Creates an HttpHeader object to be used as Authorization header for a Basic authentication of a user.
-
Page:
-
Page:
-
Page:
-
Page:
httpDelete
—
Executes an HTTP DELETE for a given URL using the specified HttpRequest object.
-
Page:
httpGet
—
Executes an HTTP GET for the given URL using the specified HttpRequest object.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
httpGetResponseInfo
— Retrieves the complete response information (if existing) from the latest HTTP routine call.
-
Page:
-
Page:
httpOptions
—
Executes an HTTP OPTIONS for the given URL using the specified HttpRequest object.
-
Page:
httpPatch
—
Executes an HTTP PATCH for the given URL using the specified HttpRequest object.
-
Page:
httpPost
—
Executes an HTTP POST for the given URL using the specified HttpRequest object.
-
Page:
httpPut
—
Executes an HTTP PUT for the given URL using the specified HttpRequest object.
-
Page:
i18nText
— Returns the i18n text if the key can be resolved. Otherwise, the key itself will be returned.
-
Page:
indexOf
— Returns the index of the first match of the str2 in str1 or -1 if str2 is nowhere to be found in str1.
-
Page:
isAlpha
— Returns "true" if the provided argument str is a string containing only letters.
-
Page:
isAlphaNumeric
— Returns "true" if the provided argument str is a string containing only letters and digits.
-
Page:
-
Page:
isDigit
— Returns "true" if the provided argument str is a string containing only digits.
-
Page:
isLower
— Returns "true" if the provided argument stris a string containing only lowercase letters.
-
Page:
isNotNull
— Checks if the provided variable is not null or has a value associated and returns true. Otherwise returns false.
-
Page:
isNull
— Checks if the provided variable is null or has no value associated then returns "true", otherwise returns "false".
-
Page:
isNumeric
— Returns "true" if the provided argument stris actually a number.
-
Page:
isUpper
— Returns "true" if the provided argument str is a string containing only upper letters.
-
Page:
join
— Returns the string obtained by concatenating all the strings from the array using the provided delimiter.
-
Page:
-
Page:
-
Page:
lastIndexOf
— Returns the index within a string of the last occurrence of the specified substring.
-
Page:
-
Page:
ldapUserList
—
Returns an array of the requested attributes for all users matching the query.
-
Page:
ldapUserStruct
—
Returns an array of JLdapUserStruct representing all users matched by the query.
-
Page:
length
— Returns the length of the provided string, 0 if the string is null or has no chars.
-
Page:
-
Page:
-
Page:
logPrint
— Prints a message in the configured Jira logs on the specified level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL.
-
Page:
matchEnd
— Returns the position where the match ends or -1 if it doesn't match.
-
Page:
matches
— Returns "true" if character expression string matches the regular expression regex.
-
Page:
matchReplace
—
Uses a regex expression to find and replace text within a string.
-
Page:
matchStart
— Returns the position where the match starts or -1 if it doesn't match.
-
Page:
matchText
— Returns the text matched or empty string if it doesn't match.
-
Page:
-
Page:
-
Page:
minute
— Returns the minutes of the provided date: 0-59.
-
Page:
month
— Returns a number representing the month of the provided date (1-12).
-
Page:
monthName
— Returns the month name of the provided date.
-
Page:
moveBlog
—
Moves the selected blog to a new space.
-
Page:
movePage
— Moves the selected page to a new parent page.
-
Page:
pageExists
— Verifies whether a given page is a registered Confluence page.
-
Page:
parseDate
— Returns the parsed date according to the format you provided. If parse fails, it will return a null date.
-
Page:
-
Page:
-
Page:
-
Page:
print
— Returns the printable string in the application log.
-
Page:
printInFile
— Prints in the specified file the provided value.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
readFromCSVFile
— Reads the values from the CSV file, returning them to an array, of N rows * M columns values.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
replace
— Replaces the search_str string with replacement_str in str and returns the resulting string.
-
Page:
-
Page:
-
Page:
runJobAt
— Runs a job at the specified date.