Confluence has been updated to version 6.15.9

Back to  nodeHelper


JIRA ON-PREMISE ZENDESK AZURE DEVOPS SERVICENOW HP ALM/QC GITHUB SALESFORCE 


The helper stopped working for Jira Cloud after 2019-04-29. Replace nodeHelper.getUserByUsername to nodeHelper.getUser. Check this troubleshooting article for more details.

Signature

HelpernodeHelper
Signature
getUserByUsername(String username)
Description

Returns a user object based on a UserName
Returns a null in case

  • the user name is not found
  • the Exalate user has no 'Browse Users' permissions (Jira only)
Introduced in0.8

Example use

// assign the issue to us if the remote has been assigned to one of ours
if (nodeHelper.getUserByUsername(replica.assignee.username) != null) {
    workflowHelper.transition(issue, "Waiting for support")
}

See Also



Back to  nodeHelper