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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted yesterday in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

40 views 0 5
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