Search filter not showing current assignee after cleared by workflow post-function

I have a workflow action:

[Investigating] -> {Reopen} -> [Open]

There's a post-function on this transition to clear the assignee. If I perform this transition, the issue view screen shows the status has changed to Open and the assignee is now unassigned.

Our dashboards have a search filter:

project in (THUGS) AND assignee = currentUser() AND status in (Open, Investigating, Escalated, "Waiting For External", "External Inactive", "Needs Approval") OR category in (Support) AND reporter = currentUser() AND status in ("Waiting For Reporter", "Inactive - Pending Closure", Frozen)

This filter should NOT show issues that are open and unassigned. However, the issue that I just Reopened appears in the search results. Also, the "Assignee" column of the search results, shows the assignee is myself, rather than unassigned as the issue view screen shows.

If I perform an instance-wide reindex, then the issue properly does not appear in the search filter.

Just wondering, why are the search results not reflecting the new unassigned value for assignee? Do I need to include some sort of reindex action in the workflow post-function?

Thanks,
Andrew

1 answer

1 accepted

I've figured out the problem.

In the workflow action post-function, the step to clear the assignee was the last in the list, below the built-in step to perform a re-index. I moved the clear assignee step to the top of the list, and the search results are now behaving as expected.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,334 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot