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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,641,790
Community Members
 
Community Events
196
Community Groups

How to find issues assigned to disabled user

Hello,

A colleague send me a remark around the search issue.

I have a disabled user (he left the company) and I want to list all issues assigned to this user.

If my colleague uses the basic search (screen shot), he doesn't find user

basic search.png

However only if he uses the advanced search and search issues with user account, he finds issues.

advanced search.png

 

I suppose that JIRA is not able to translate user because it's inactive and if we use advanced search,  JIRA search the raw value (firstname.lastname) from the database and give the result.

For your information: we are connected on Active Directory for user management.

 

Someone could confirm me my theory?

 

Thank you

 

 

3 answers

2 accepted

2 votes
Answer accepted
Bastiaan Jansen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 22, 2017

Hi Cedric, I can confirm the theory you shared is correct.
I found a knowledge arcticle about the same topic: https://confluence.atlassian.com/jirakb/search-for-inactive-users-346947771.html

Within this article there is a link to a feature request that has been closed with the JIRA 7.3 fix version: https://jira.atlassian.com/browse/JRASERVER-32874

Cheers,
Bas

I dont know how you can say this is fixed and working when inactive users do not appear in filter selection lists or JQL autocomplete. 

Like # people like this
0 votes
Answer accepted

Here an example of Jira JQL function HasInactiveAssignee compatible with Jira 8, the function is in the comments of the post 

https://mraddon.blog/2015/08/31/new-jql-function-custom-to-retrive-issues-with-inactive-user-in-assignee-hasinactiveassignee/

Hi Raul,

 

Thank you for your answer  ;)

Using this JQL statement will display all issues assigned to an inactive user:

assignee in (inactiveUsers())

this solved my problem. thanks

Keep in mind: This is a Scriptrunner-Script. It wont work if you disable the

Scriptrunner App.

@Chris Bell  I was hoping you could help with something similar. 

An inactive user has left the business, i have followed advanced search and run  the below however it only seems to show me his 'done' tickets, its not showing me any tickets he had in the existing sprint that were under 'to do' I am trying to locate these missing tickets so i can re-assign, thanks 

(inactiveUsers())

This should be the accepted answer.

Suggest an answer

Log in or Sign up to answer