Overview
Thejira listusers command enumerates all Atlassian users accessible in a Jira instance, providing email addresses, display names, account IDs, and account status. This reconnaissance command is critical for user enumeration, building target lists for phishing campaigns, obtaining user IDs for @mentions in issues and comments, and mapping organizational structure.
Syntax
Required Parameters
The base URL of the target Jira instance (e.g.,
https://company.atlassian.net)Optional Parameters
Authentication cookie (
cloud.session.token or tenant.session.token). Required for accessing user information in most instancesReturn comprehensive user information including display name, user ID, and active status. When false, only displays email addresses
Save command output to a specified file
Examples
Basic User Enumeration
List all users with email addresses only:Comprehensive User Information
List all users with full details:Save User List to File
Export user listing for offline analysis:Build Phishing Target List
Extract email addresses for phishing campaign:Use Cases
- Red Team
- Blue Team
Offensive Security Applications
- Phishing Target Lists: Build email lists for phishing and social engineering campaigns
- User ID Collection: Obtain account IDs for @mentions in
createissueandaddcommentattacks - Organizational Mapping: Understand company structure through email domains and naming conventions
- Password Spraying: Generate username lists for password spraying attacks
- Social Engineering: Identify high-value targets based on email patterns (executives, admins)
- Credential Validation: Verify compromised credentials against known user list
- Active User Detection: Identify active users for targeted attacks (using
--full) - Email Pattern Discovery: Learn organizational email format for generating additional targets
Output
Default Output (Email Only)
When--full is not specified, returns sorted email addresses:
Full Output (With —full Flag)
When--full is specified, returns comprehensive user information:
Output Information
Basic mode:- User Email: Email address of each user (sorted alphabetically)
--full):
- User Name: Display name of the user
- User Id: Atlassian account ID (use this for @mentions with
--atparameter) - Active: Whether the account is currently active (True/False)
- User Email: Email address
Detection Considerations
Jira Audit Log Entries
This command generates the following audit log events:- User search/enumeration operations may be logged
- API access to user endpoints
- Includes: User ID (requester), timestamp, IP address, user agent
Network Indicators
- HTTP GET requests to
/rest/api/3/users/search?maxResults=200&startAt={offset} - Multiple sequential requests (increments of 200) until all users are retrieved
- Pattern: startAt=0, startAt=200, startAt=400, etc.
- Large response sizes containing user data
OPSEC Considerations
Enumeration Behavior
- The tool automatically paginates through all users in batches of 200
- Enumeration continues until fewer than 200 users are returned (indicating the last page)
- Output is sorted alphabetically by email address for easier analysis
- Users without email addresses are excluded from results
User ID Usage
User IDs obtained with--full can be used with:
jira createissue --at {userId}- Mention user in new issuesjira addcomment --at {userId}- Mention user in comments
5d9e8c7f2a3b1c0d4e5f6789
Related Commands
- jira createissue - Create issues with user mentions (use
--atwith user IDs from this command) - jira addcomment - Add comments with user mentions (use
--atwith user IDs) - jira listprojects - List projects to understand organizational structure
- jira listissues - List issues showing creator and assignee information