The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JIRA user details

Ruwan Mettananda
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new 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 Champions.
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 Champions.
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