Skip to content

jtk users

The users command group manages user lookups. Aliases: user, u.

Get the currently authenticated user.

Terminal window
jtk users me
jtk users me --json

Example output:

Jane Doe
Account ID: 5a0b1c2d3e4f5g6h7i8j
Email: jane@example.com
Account Type: atlassian
Active: yes
Time Zone: America/New_York
Locale: en_US

Search for users by name or email.

Terminal window
jtk users search "jane"
jtk users search "jane doe" --max 10

Flags:

FlagDefaultDescription
--max20Maximum results to return

Example output:

Account ID Display Name Email Active
5a0b1c2d3e4f5g6h7i8j Jane Doe jane@example.com yes
5b1c2d3e4f5g6h7i8j9k Jane Smith jsmith@example.com yes

Get a user by account ID.

Terminal window
jtk users get 5a0b1c2d3e4f5g6h7i8j

Arguments:

ArgumentDescription
account-idUser account ID (required)