We are writing node script to list all the user with last login date and role of the user(admin or normal user) in Jira. We are not able to find any related api in the documentation which provides last login date and role.
Is there any REST api's which can help us to retrieve last login date and role(admin or normal user) of all users?and what is the minimum access level for jira token to call those api?
Kindly confirm.