Skip to content

myself

get-current-user

Get current user

Returns details for the current user.

Permissions required: Permission to access Jira.

GET /rest/api/3/myself

FlagTypeRequiredDescription
--expandstringNoUse expand to include additional information about user in the response. This parameter accepts a comma-separated list. Expand options include:
  • groups Returns all groups, including nested groups, the user belongs to.
  • applicationRoles Returns the application roles the user is assigned to. |

Example:

bash
jr myself get-current-user