Actions16
User → Search
AI-generatedOverview
This node integrates with the Jira Data Center API to perform various operations on Jira resources. Specifically, for the User resource with the Search operation, it allows you to search for users in your Jira instance based on a query string. This is useful when you want to find users by username or part of their name, for example, to assign issues, notify users, or manage user-related data programmatically.
Practical examples include:
- Searching for users whose usernames contain a specific substring.
- Automating workflows that require selecting users dynamically based on search criteria.
- Integrating Jira user search into larger automation pipelines where user information is needed.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method to authenticate with Jira Data Center API. Options: Personal Access Token, Basic Auth |
| Query | Search query string used to find users. This typically matches usernames or display names |
Output
The output is a JSON array of user objects returned from the Jira Data Center API's user search endpoint. Each object represents a user matching the search query and contains user details as provided by Jira (such as username, account ID, email address, display name, etc.).
No binary data is output by this node.
Example output structure (simplified):
[
{
"self": "https://jira.example.com/rest/api/2/user?accountId=abc123",
"accountId": "abc123",
"emailAddress": "user@example.com",
"displayName": "John Doe",
"active": true,
"timeZone": "Europe/London"
},
...
]
Dependencies
- Requires access to a Jira Data Center instance.
- Requires authentication credentials configured in n8n, either via:
- A personal access token credential.
- Basic authentication credential (username and password).
- The node uses Jira REST API endpoints under
/rest/api/2/user/search.
Troubleshooting
Common Issues:
- Invalid or expired authentication credentials will cause API request failures.
- Insufficient permissions in Jira may result in empty results or authorization errors.
- Providing an empty or invalid query string may return no results or errors.
Error Messages:
"Jira Data Center API request failed: <error message>"indicates a problem with the API call, such as network issues, invalid credentials, or permission problems.
Resolutions:
- Verify that the API credentials are correct and have sufficient permissions.
- Ensure the Jira server URL is reachable from n8n.
- Confirm the query string is valid and not empty.
- Check Jira logs or API documentation for more details if errors persist.