Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why does a reopened task not appear in the search for unresolved tasks when using currentUser? Edited


 resolution = Unresolved AND assignee = currentUser()

In the worflow, when a task is reopened the resolution is set back to unresolved. The issue in question is a standard substask. If you search for all task assigned to the user which are unresolved, it appears. However, if you use the currentUser field it doesn't appear.


We're using v7.3.4

2 answers

3 votes
Jack Community Leader Aug 01, 2019

you need to be sure to clear the Resolution field when reopening an issue. Do this with the post-function.

We have it being set to unresolved already, and it appears correctly if you search via any other method OTHER than currentUser.

Jack Community Leader Aug 01, 2019

agree this is strange...

have you scrutinized the two that do not show? I wonder if they are closed and reopened (again) would they show. however, if they did show, that wouldn't answer the question of "why".

Right now it is one specific task, a subtask. There are other reopened subtasks which appear in the list and closing and reopening this one doesn't fix the issue. Super weird

You say "We have it being set to unresolved already"

Does this mean you have "unresolved" as an option for the resolution field?

Or do you mean "We use a post-function to clear the resolution field"?

Either way, could you check what the re-open transition does in the post-functions?

How are you using currentUser?  Are you searching for issues where Assignee = currentUser?  That will show all issues assigned to you (the currently logged in user performing the search)

as written in the original description, the JQL is:

resolution = Unresolved AND assignee = currentUser()

So that will only show your issues, are you sure the 'missing' issue is assigned to you?

I want to see all tasks assigned to me which are unresolved. I can see 12 tasks when I use:

resolution = unresolved AND assignee = username

However, when I replace my specific name with currentUser, only 10 tasks appear in the list.

The question is, why do these 2 tasks not appear in the filter when the currentUser jql is used?

Strange, have you tried running a reindex?

Like Kara likes this

We did one yesterday. I didn't notice this previous to that, but maybe this has something to do with it.

Can you run a reindex and see if it shows after that.  If not you may have to post a screenshot of the missing item to see if we can see anything odd about it!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,430 views 22 32
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you