I'm trying to get a list of all Jira users, search for those who has last seen in jira a month ago, and remove those users from "jira-software-users" group.
So far, I'm able to get that list as a CSV manually, process it and then try to remove the users from the group. My issue here is that I can't get the accountId from the API call /rest/api/3/user because the query parameter username is no longer available.
From the CSV file I have a field named User id, but it looks like is not related with accountId that I need for /rest/api/3/group/user and being actually able to remove the user.
Could someone plz point me to the right direction here?
Thanks in advance!