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: 

How to get the all participants count and name of all jira issus on all projects.

Yasith Tharindu
April 18, 2015

We need to find out all the participants of all the projects for last year of period. What could be the SQL or CLI query would be for find it.

participants means everybody who has don any kind of a activity on any issues.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nic Brough -Adaptavist-
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.
April 19, 2015

With SQL, the simple approach is to

  1. read changegroup for author, date and issue-id, that gives you a set of users who changed issues
  2. read jiraaction for the same, which gives you all the comments
  3. read jiraissue for creator and created date to get the people creating the issue

You'll then need to read cwd_user to match the author and creator to users, but that may vary depending on what user directories you are using.