How it is possible to get list of user that are using REST API?

Hello, 

we would like to know, which user connect to JIRA via REST API, is it possible?

JIRA Software v7.2.7

I am looking forward to your reply.

Best regards,
Tatiana

1 answer

0 votes

If you have the access logs enabled, you can analyze it to find the users making a REST request. Another option is to use some monitoring tools to monitor the incoming requests.

Hi,

could you be more specific?

In the access logs I found something like this:

"GET /rest/gadgets/1.0/g/messagebundle/en_UK/gadget.common%2Cgadget.project HTTP/1.1" 200 2892 1 "-" "Apache-HttpClient/4.4.1 (Java/1.8.0_102)" "-"
 "GET /rest/gadgets/1.0/g/messagebundle/und/gadget.quicklinks HTTP/1.1" 200 501 1 "-" "Apache-HttpClient/4.4.1 (Java/1.8.0_102)" "-"
"GET /rest/gadgets/1.0/g/messagebundle/en_UK/gadget.quicklinks HTTP/1.1" 200 501 1 "-" "Apache-HttpClient/4.4.1 (Java/1.8.0_102)" "-"
 "GET / HTTP/1.1" 200 11879 198 "-" "F5-BIGIP" "-"

Regards,
Tatiana

First, you need to make sure the username is logged. See the Tomcat access logging documentation for help. Make sure you are checking the version used by your JIRA.

Once the user name is logged, you can search for urls starting with /rest and identify the users. You might want to strip out the ones specific to gadgets or other known services but it is up to you.

Also see https://confluence.atlassian.com/enterprise/jira-access-log-analyzer-687025035.html

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

468 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you