Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to search for an inactive user with the API deprecations.

Miriam Campos
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2019

Hello,


We have some tools looking for users and making decisions based on their "active" property. The thing is we need to search for Inactive users, but I can see the "includeInactive=true" will not be working anymore.
Is there a way in which I can know a user exists in our instance but is inactive? We need to differentiate them from the non-existing users.


Best Regards,
Miriam Campos

1 answer

0 votes
Alex Gallien
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2019

Do you have Scriptrunner installed? If so you can use:

assignee in inactiveUsers()

I have used that in the past to clean up issues assigned to inactive users, and it works for me in Jira 7.10.2. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events