Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Get by API all the atlassian users and their last logins in confluence, software, service desk?

Micaela Festa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 9, 2023

We're working in a app to automatize the jira licenses workflow and i need to get all the atlassian users by api with their last logins in the diferent systems like confluence, software or servide desk, but i can't find a way to do it automatically.

1 answer

0 votes
Jindřich Löffler June 12, 2023

You need to do it via script (script runner) or using own program that calls API 

Get user list

{your_jira_domain}/rest/api/3/users/search

Get data of each user (where you need to parse data user about systems)
{your_jira_domain}/rest/api/3/user?accountId={user_id}&expand=groups

Get last active dates for each user and each system
https://api.atlassian.com/admin/v1/orgs/{org_id}/directory/users/{user_id}/last-active-dates

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events