The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events