Why can't I search for issues for a certain user in the assignee field?

When I search for issues assigned to a specific user, using assignee = x user, no issues pull up even though there are issues assigned to that user. The user was assigned only to subtasks to a parent issue. I could however find the user if I put assignee WAS x user. I tried searching for other users and some user's issues would pull up and others would not by using assignee = y user. Some users assigned to subtasks would show up too.

1 answer

0 votes

That sounds correct.  If you use "assignee = X", it looks for issues that currently have that person as the assignee.

If there are definitely issues with them as the assignee, then check the rest of your query to see if they are excluded for another reason (searching the wrong project, issuetype, custom field etc).  If you still have an issue, then it might be a damaged index, but I would post your actual JQL here first to see if we can spot anything wrong with it.

project = PI AND issuetype in subTaskIssueTypes() AND assignee in (DPeregrina)

The tickets with user's assigned that won't pull in when queried also aren't allowed certain transitions if the transition has a condition of "only assign is allowed to transition".

Ok, that's a nice clear query and a new symptom that could tell us a lot more. Now, we need to find an issue that *should* appear (assignee currently DPeregrina, and it's a subtask in PI) and look at all the user fields on it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

62 views 0 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you