Connectors
...
Actions
Get User
6 min
description retrieves a specific user's details from atlassian jira using the accountid, respecting user privacy settings endpoint url /rest/api/3/user method get inputs parameters (object) – required accountid (string) – required the account id of the user, which uniquely identifies the user across all atlassian products max length is 128 expand (string) use expand to include additional information about users in the response this parameter accepts a comma separated list expand options include groups includes all groups and nested groups to which the user belongs applicationroles includes details of all the applications to which the user has access output example \[ { "status code" 200, "response headers" { "date" "thu, 09 jan 2025 09 22 15 gmt", "content type" "application/json;charset=utf 8", "server" "atlassianedge", "timing allow origin" " ", "x arequestid" "3755c266a371a3de6f4ac4e217c9c2cf", "set cookie" "atlassian xsrf token=180eb947a40a03f89fc1aa377d3d0be76190e334 lin; path=/; samesite=none; secure", "x aaccountid" "5d07f57ceec00a0bcb5eca63", "cache control" "no cache, no store, no transform", "vary" "accept encoding", "content encoding" "gzip", "x content type options" "nosniff", "x xss protection" "1; mode=block", "atl traceid" "13d28234934c4319902f54f1c38e5fff", "atl request id" "13d28234 934c 4319 902f 54f1c38e5fff", "strict transport security" "max age=63072000; includesubdomains; preload", "report to" "{\\"endpoints\\" \[{\\"url\\" \\"https //dz8aopenkvv6s cloudfront net\\"}], \\"group\\" \\"endpoint 1\\", \\"include subdomains\\" true, \\"max age\\" 600}", "nel" "{\\"failure fraction\\" 0 001, \\"include subdomains\\" true, \\"max age\\" 600, \\"report to\\" \\"endpoint 1\\"}", "server timing" "atl edge;dur=348,atl edge internal;dur=15,atl edge upstream;dur=335,atl edge pop;desc=\\"aws ap south 1\\"", "transfer encoding" "chunked" }, "reason" "ok", "json body" { "self" "https //swimlane atlassian net/rest/api/3/user?accountid=5d07f57ceec00a0bcb5eca63", "accountid" "5d07f57ceec00a0bcb5eca63", "accounttype" "atlassian", "emailaddress" "integrations\@swimlane com", "avatarurls" { "48x48" "https //avatar management avatars us west 2 prod public atl paas net/5d07f57ceec00a0bcb5eca63/b2f62753 cd5f 4178 a52f 25e838a67035/48", "24x24" "https //avatar management avatars us west 2 prod public atl paas net/5d07f57ceec00a0bcb5eca63/b2f62753 cd5f 4178 a52f 25e838a67035/24", "16x16" "https //avatar management avatars us west 2 prod public atl paas net/5d07f57ceec00a0bcb5eca63/b2f62753 cd5f 4178 a52f 25e838a67035/16", "32x32" "https //avatar management avatars us west 2 prod public atl paas net/5d07f57ceec00a0bcb5eca63/b2f62753 cd5f 4178 a52f 25e838a67035/32" }, "displayname" "swimlane integrations", "active" true, "timezone" "america/denver", "locale" "en us", "groups" { "size" 4, "items" \[] }, "applicationroles" { "size" 1, "items" \[] }, "expand" "groups,applicationroles" } } ] output parameters status code (number) reason (string) json body (object) self (string) accountid (string) accounttype (string) emailaddress (string) avatarurls (object) 48x48 (string) 24x24 (string) 16x16 (string) 32x32 (string) displayname (string) active (boolean) timezone (string) locale (string) groups (object) size (number) items (array) file name (string) – required file (string) – required applicationroles (object) size (number) items (array) file name (string) – required file (string) – required expand (string) response headers header type date string content type string server string timing allow origin string x arequestid string set cookie string x aaccountid string cache control string vary string content encoding string x content type options string x xss protection string atl traceid string atl request id string strict transport security string report to string nel string server timing string transfer encoding string