Note: For Jira Cloud use with nodeHelper.getUser instead. This helper does not work with Jira Cloud.
Signature
Helper | nodeHelper |
Signature |
getUserByUsername(String username) |
Description |
Returns a user object based on a UserName
|
Introduced in | 0.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") }