JIRA user details

Ruwan Mettananda May 31, 2015

I want to take following details for a JIRA user.

  1. User-Name
  2. No. of Filters subscribed by the user
  3. No. of Dashboards subscribed by the user
  4. No. of issues modified by the user
  5. No. of issues commented by the user
  6. User custom field references In which Database tables I can find these data?

In which Database tables I can find these data?

2 answers

2 votes
Gabor Nagy _Midori_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2015

Hi Ruwan,

I think it's much easier and less error-prone to access these data through the REST API.

I recommend using the REST API browser in your JIRA instance to experiment before writing any code, its URL should look like this: http://localhost:2990/jira/plugins/servlet/restbrowser 

For example, "api-2-user" endpoint can be used to answer your first question.

0 votes
Chander Inguva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2015

Hi Ruwan,

  1. User-Name: cwd_user
  2. No. of Filters subscribed by the user: filtersubscription
  3. No of Dashboards subscribed by the user: Not sure of this. You can 
  4. No. of Issues modified by user: jiraaction
  5. No of issues commented by user: jiraaction
  6. Customfield: customfield and customfieldoption

Refer to https://developer.atlassian.com/jiradev/files/4227160/JIRA61_db_schema.pdf for more details.

  Hope this helps

Regards

Chander Inguva

Suggest an answer

Log in or Sign up to answer