Our company uses JIRA and I'd like to have a way to track all tickets (issues) on which I ever worked. This because after I finish working on a ticket, I reassign it back to the Reporter, and it disappears from "my" tickets.

Using the "Log work" field is not possible.

Therefore, I'd like to create a filter that finds all issues on which I ever added a comment. Is this possible?


I've found the answer. On the current version of JIRA, use the following JQL:

issueFunction in commented("by dr01") ORDER BY createdDate DESC

If you add a comment then this is recorded as a work log (you can see this by using the left hand 'all' options on comments.

So building a JQL filter based on:

worklogAuthor= currentUser() ORDER BY updatedDate desc

Should find all issues that you've commented on. It may also show you tickets that you've logged work against (eg using Tempo) so it may need refining.

  • Unfortunately not, the tab "All" in the issue doesn't show anything related to a work log, and the tab "Work log" shows "No work has yet been logged on this issue", even if I've put several comments in the issue.
    – dr_
    May 22 '17 at 11:50
  • @dr01 Sorry, the comments appear in the 'All' tab on the Activity section - all comments are logged as 'worklogs' which can be queried using the above JQL. Have you tried the JQL?
    – amelvin
    May 22 '17 at 12:32
  • Yes, it returns "No issues were found to match your search".
    – dr_
    May 22 '17 at 12:48
  • @dr01 - looks like worklogAuthor is added by Tempo plugin & can be buggy: tempoplugin.jira.com/browse/… - I'll see if there is an alternative
    – amelvin
    May 22 '17 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.