Forums

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

Get a list of accounts with authorization via Rest

Alexandr January 27, 2025

Hi, I've run into a problem and I'm hoping you can help me find a solution. In the JSM settings, there's a section called User Sessions, and I see that it shows the authorization method as Rest or HTTP. I want to prevent all users from logging in via Rest, but I want to keep the option available for those who are already doing it. However, in the User Sessions section in Jira, I can only see the current sessions. My question is, how can I get a list of all accounts using Rest for authorization? Is that even possible? Maybe there's a more universal way to approach this that I don't know about. I'd really appreciate your advice. Thank you!

1 answer

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
January 27, 2025

Hi @Alexandr 

Unfortunately, JSM does not provide a direct way to get a complete list of users who are using REST. 

Please take it with a pinch of salt, have you tried looking at the atlassian-jira.log file as I believe it has entries for such king of REST usages, something like below

2025-01-27 11:44:22 exec-3 INFO username /rest/api/2/issue

if you see them, you can run a grep command to list all then export  it to a spreadsheet.

grep "/rest/" atlassian-jira.log

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events