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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

110 views 0 5
Read article

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