Hi,
I need to create report for all issues ( status does not matter) where either I am watcher or participants with in last 2 weeks of timeframe and ticket has been updated by me in the comments sections.
I have following search filter but it is not displaying correct results
worklogAuthor = currentUser() AND worklogDate <= startofWeek(-1w) AND assignee in (currentUser()) OR Participants = currentUser() OR watcher = currentUser() ORDER BY updated DESC
Your JQL isn't quite what you mention in the comment above. You have the worklog Author which searches on issues where you have "logged work" on an issue not made a comment. You also are searching for issues where you are the assignee as well. While it will be difficult to search on whether you made a comment or not only with the out of the box tools, here's something that will get you closer:
(Participants = currentUser() or watcher = currentUser()) and issue in updatedby("USERNAME", -2w) order by updated desc
The updatedby function requires the user to be explicitly defined, so you'll need to replace USERNAME with your username. It pulls issues where you are in the particpants or watcher and then narrows by issues that your user has updated in the last 2 weeks.
Unable to find JQL function 'updatedby' in my jira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This particular function was added in a later version of Jira. This makes searching on updates much harder to accomplish without a third party plugin. While the data exists in the database, these aren't exposed by the searching interface. Some plugins expose it at the risk of harming system performance.
You are pretty much left with ordering by Updated or searching by status changes without the UpdatedBy function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.