I try to list all issues where I was a participant. On top of issues asssigned to me, I want to include issues that followed the normal procedure: somebody else created them, they were assigned to me, I solved them, and re-assigned to somebody else for testing.
So far, I tried participant=currentUser(), but it return only issues where I am a reporter or assignee.
If I look in a specific Jira issue, it shows as participants: userA, myUser, userC. But the query above includes this issue only for userA (reporter) or userC (assignee).
How can I write a JQL query to retrieve all issues where my iser was a particilant?
So far, the best solution I found was:
assignee was currentUser() or assignee = currentUser()
Try this query
text ~ currentuser()
This query will fetch you all the issues which your user is mentioned, participated in, assigned and etc.
Related
I would like to get ALL activity for a given user in a time period. That is, all revisions they have done on patches they own or on patches others own, all comments and all reviews. 1) Are there other activities in Gerrit that I am missing? 2) Will the following query do what I want?
(owner:'USER' OR commentby:'USER' OR reviewedby:'USER' OR author:'AUTHOR' OR committer:'COMMITTER') and (before:end-date after:begin-date)
Thanks
Your search is ok and I think there aren't any search clauses to be added.
Just some comments below:
1) You can replace "owner:USER OR commentby:USER" to just "from:USER"
2) You can replace "USER" to "me" to get info from your own user
See more info at Gerrit documentation here
I have worked on several sub tasks in my project which has different parent tasks. I need a query to retrieve all the parent tasks of sub tasks which I have worked or working on? Is there a query in JQL(JIRA) for this task?
What are the plugins(free/licence) to improve these searches?
The following query will return all parent tasks, which have sub-tasks assigned to the current user. (The parent task need not be assigned to current user)
issueFunction in parentsOf("assignee = currentUser() ")
If you have the Search Linked Issues plugin (previously called Craftforge JQL Functions Plugin), which isn't free anymore, but it was until version 1.3.1, you can use this query:
issue in parentIssuesFromQuery("assignee = currentUser()")
this will give you all the task other than sub task which is assigned to you
assignee = currentUser() and type != Sub-task
hope this will help
I am searching for a JQL to show all Issues that didn´t changed the assigned User.
In theory NOT assignee CHANGED works fine, but if the Ticket was Unassigned at a point the change from unassigned to assigned counts as a CHANGE off course.
Background is:
I would like to have a Filter of tickets that were transitioned end to end by the same user..
It would be fine if i could limit the assignee changed condition to a range of status transitions (i.e. exclude the change from backlog to open..) but i didn´t find a solution for a limitation on CHANGED other than time...
Any Ideas?
I was wrong, and this filter works fine for me. In my case I can not test what happens with issues with empty or null assignee due to i have restrictions on our jira so that that can not happen.
(assignee is not null) and !(assignee changed)
Regards,
Oldskultxo
I have a large database of information. They are mostly patients. Some of them have email addresses and some of them don't. I can pull an additional email address by simply running
Patient.last.email
However I only want to see the patients who do not have email addresses. (I think its about half of the ones that I have)
I've tried both these below, but not having the best of luck.
Patient.includes(:email).where('email = ?', 'nil')
Patient.includes(:email).where('email = ?' 'nil').references(:email)
Would anyone know what I'm doing wrong?
Simple then.
Patient.where(email: nil)
Should get you your result.
Is there any way to find all issues updated by particular user in particular time period in every day by using JQL or is there any plugin to solve this?.
If by updated you mean change of status you can chack something like this:
status changed by "user.name" and updated > startOfDay("-1")
Of course the start of the day -1 shows everything updated since yesterday, but you can also go with hours.
You could run a query like this:
reporter = usernameGoesHere AND created > startOfDay() and created < "2015/06/18 15:00"
So I had one ticket that I created at 2:20. Running this query gave me all issues created from the start of today and then queried out the results that were created before 6/18 at 3:00PM
Let me know if this helps you out.
You can also look at the Advanced Filtering page for JIRA
assignee = 'your user' AND updated > startOfDay()
You can create a filter which will update daily.