The nodeHelper is an object which can be used in the Sync Rules scripts to get specific information from the underlying tracker
Names of objects are case sensitive. displayname is different from displayName
JIRA CLOUD
Title | Description |
---|---|
canUserEditComments | Check if the user can edit comments. Usually used to avoid errors when syncing comments with the original author. |
createComponent | Creates a new IHubComponent in the project that the issue belongs to. |
createOption | Allows retrieving an option from a single select list custom field with the help of the custom field name or ID. If the option doesn't exist, creates and retrieves it. |
createVersion | Create a version in the project of the issue |
getCascadingSelect | Returns an object from a Cascading Select List |
getComponent | Returns a component belonging to the project |
getCustomFieldDefaultValue | Returns the default value of the customfield |
getHtmlComments | Converts comments from Markdown into Html |
getHtmlField | Converts issue fields from Markdown into Html. You can enter an issue field you want to sync instead of
|
getIssueType | Returns an issuetype object based on the issueTypeName |
getLabel | Returns a label |
getLocalIssueFromRemoteUrn | Finds a local issue linked to the remote issue. |
getOption | Allows retrieving an option from a single select list custom field with the help of a custom field name or ID. |
getOptions | Allows retrieving a list of options from a custom field. |
getPriority | |
getProject | Returns a project object based on a projectKey |
getProjectByName | Returns a project object based on a projectName |
getRemoteIssueLinks | Allows to get the remote issue Web Links, Confluence Pages, and any other type of URL added to the issue. |
getResolution | Returns a resolution |
getStatus | Returns a hub status with the provided name |
getUser | Returns a user object |
getUserByEmail | Return a user matching the specified email address.
|
getUserByFullName | Returns a user object based on a displayName (Full Name)
|
getUserByUsername | Returns a user object based on a UserName
|
getVersion | Returns a version belonging to the project. Typically used to map the remote issue version to the local issue version. |
isIssueEditable | Returns true if the issue can be modified. |
isUserAssignable | Check if the user can be assigned as a reporter/assignee/other user fields. Usually used to avoid errors when syncing users between instances. |
nodeHelper.createUser | Creates a new user with the provided information. |
toMarkDownComments | Converts comments from HTML to Markdown |
toMarkDownFromHtml | Converts issue fields from HTML to Markdown |
JIRA ON-PREMISE
Title | Description |
---|---|
createComponent | Creates a new IHubComponent in the project that the issue belongs to. |
createVersion | Create a version in the project of the issue |
getCascadingSelect | Returns an object from a Cascading Select List |
getComponent | Returns a component belonging to the project |
getCustomFieldDefaultValue | Returns the default value of the customfield |
getDefaultIssueType | Returns an issuetype which is marked as default for a project. |
getIssueType | Returns an issuetype object based on the issueTypeName |
getLabel | Returns a label |
getLocalIssueFromRemoteUrn | Finds a local issue linked to the remote issue. |
getOption | Allows retrieving an option from a single select list custom field with the help of a custom field name or ID. |
getOptions | Allows retrieving a list of options from a custom field. |
getPriority | |
getProject | Returns a project object based on a projectKey |
getProjectByName | Returns a project object based on a projectName |
getResolution | Returns a resolution |
getSecurityLevelId | Returns security level id, for securityLevel with name and project. |
getSecurityLevelName | Returns security level name, for securityLevel with name and project. |
getStatus | Returns a hub status with the provided name |
getUser | Returns a user object |
getUserByEmail | Return a user matching the specified email address.
|
getUserByFullName | Returns a user object based on a displayName (Full Name)
|
getUserByUsername | Returns a user object based on a UserName
|
getVersion | Returns a version belonging to the project. Typically used to map the remote issue version to the local issue version. |
isIssueEditable | Returns true if the issue can be modified. |
nodeHelper.createUser | Creates a new user with the provided information. |
updateEpicLink | Updates an issue epic id of the synchronized epic to the remote epic with id "remoteEpicId" |
GITHUB
Title | Description |
---|---|
createVersion | Create a version in the project of the issue |
getLabel | Returns a label |
getStatus | Returns a hub status with the provided name |
getUserByEmail | Return a user matching the specified email address.
|
getUserByUsername | Returns a user object based on a UserName
|
getVersion | Returns a version belonging to the project. Typically used to map the remote issue version to the local issue version. |
stripHTML |
|
ZENDESK
Title | Description |
---|---|
createVersion | Create a version in the project of the issue |
getIssueType | Returns an issuetype object based on the issueTypeName |
getLabel | Returns a label |
getPriority | |
getStatus | Returns a hub status with the provided name |
getUser | Returns a user object |
getUserByEmail | Return a user matching the specified email address.
|
getUserByFullName | Returns a user object based on a displayName (Full Name)
|
getUserByUsername | Returns a user object based on a UserName
|
getVersion |
|
SERVICENOW
Title | Description |
---|---|
getAssignmentGroupByName | Returns an assignment group name. |
getBusinessServiceByName | Returns a business service by name. |
getLabel | Returns a label |
getPriority | |
getReference | Helps to get a value of type reference. |
getStatus | Returns a hub status with the provided name |
getTableByLink | Returns a table with its attributes by the link attribute of the table |
getTableByName | Looks up a value in the specified table and returns the corresponding row |
getUser | Returns a user object |
getUserByEmail | Return a user matching the specified email address.
|
getUserByFullName | Returns a user object based on a displayName (Full Name)
|
getUserByUsername | Returns a user object based on a UserName
|
AZURE DEVOPS
Title | Description |
---|---|
getIssueType | Returns an issuetype object based on the issueTypeName |
getLabel | Returns a label |
getPriority | |
getProject | Returns a project object based on a projectKey |
getProjectByName | Returns a project object based on a projectName |
getStatus | Returns a hub status with the provided name |
getUser | Returns a user object |
getUserByEmail | Return a user matching the specified email address.
|
getUserByFullName | Returns a user object based on a displayName (Full Name)
|
getUserByUsername | Returns a user object based on a UserName
|
stripHTML | Removes the HTML from the text |
SALESFORCE
Title | Description |
---|---|
getCustomFieldDefaultValue | Returns the default value of the customfield |
getOption | Allows retrieving an option from a single select list custom field with the help of a custom field name or ID. |
getOptions | Allows retrieving a list of options from a custom field. |
getPriority | |
getReference | Helps to get a value of type reference. |
getStatus | Returns a hub status with the provided name |
getUser | Returns a user object |
getUserByEmail | Return a user matching the specified email address.
|
getUserByFullName | Returns a user object based on a displayName (Full Name)
|
getUserByUsername | Returns a user object based on a UserName
|
stripHTML | Removes the HTML from the text |
HP ALM/QC
Title | Description |
---|---|
getIssueType | Returns an issuetype object based on the issueTypeName |
getOption | Allows retrieving an option from a single select list custom field with the help of a custom field name or ID. |
getOptions | Allows retrieving a list of options from a custom field. |
getPriority | |
getProject | Returns a project object based on a projectKey |
getStatus | Returns a hub status with the provided name |
getUser | Returns a user object |
getUserByUsername | Returns a user object based on a UserName
|
stripHTML | Removes the HTML from the text |