Created
January 28, 2015 21:41
-
-
Save mrw/8176eec50cb321d152fe to your computer and use it in GitHub Desktop.
JIRA comments by user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT JA.ID, author, JA.created, summary, pname, CONCAT(P.pkey, "-", JI.issuenum), JA.actionbody | |
FROM jiraaction JA | |
JOIN jiraissue JI ON JA.issueid = JI.id | |
JOIN project P ON JI.project = P.id | |
JOIN app_user U ON U.user_key = JA.author | |
WHERE JA.actiontype = 'comment' | |
AND U.lower_user_name = 'xxx' | |
ORDER BY created DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment