Filter content search by disabled user?

John Avellar January 9, 2017

Hey all, 

 

Is there a way to filter the content in advance search by a disabled user?  

 

Thanks,

John

3 answers

2 votes
Susan Ostreicher
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.
June 11, 2019

@Rob Woodgate - I was looking for a way to find pages where a specific inactive user was mentioned, and found that I can paste this URL into the address bar (insert your site URL and the username of the inactive user). Hope it works for you too!

https://YOURURL/confluence/dosearchsite.action?cql=mention+%3D+%22INACTIVEUSERNAME%22

Rob Woodgate
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.
June 13, 2019

Hi Susan,

Thanks for that, I'll give it a try. The link in that URL is still pointing to your company's Confluence though, are you able to delete or edit it?

Susan Ostreicher
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.
June 13, 2019

Good catch, thank you! I removed the link. 

Rob Woodgate
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.
June 13, 2019

👍

Wesley Whitlam
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!
March 19, 2020

Thanks for this search.  Is there a way to show only pages created by the disabled user.  

We are attempting to create a retention policy and would like to report on inactive users who once authored pages.  Ideally we would like to message the manager of the person who is now inactive and have them reassign pages.

Susan Ostreicher
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 15, 2020

Hi @Wesley Whitlam , sorry for the slow reply. I think you can use this search: 

https://YOURURL/confluence/dosearchsite.action?cql=creator+%3D+%22INACTIVEUSERNAME%22

0 votes
John Avellar January 10, 2017

Hi Rob,

We are trying to find pages created by an inactive user.  The custom filter by creator does not populate inactive users when I type their name in the creator field. It only shows active folks to be selected.  I have tested it with several accounts and I get the same results.

Is there a backend change that I need to make to include inactive users in the search?

Thanks,

John

Rob Woodgate
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.
January 10, 2017

Hi John,

There might be a backend change, but nothing that I'm aware of - as far as I know it's always worked that way (although that could easily be incorrect).  I've just tried again to make sure I've not been stupid, and it's still bringing up the inactive user.

The only thing that sometimes trips people up when searching for users is that you don't need the ampersand like you do for a mention, but it doesn't sound like you're doing that.  Generally when people aren't showing up then you need to re-index and you'll need to ask Atlassian to do that. If no-one else has an answer for you I'd suggest contacting them anyway and asking for their assistance - they're very helpful and knowledgeable.

0 votes
Rob Woodgate
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.
January 9, 2017

Hi John,

It depends how exactly you want to filter.  If you just want to return all pages where they're mentioned, enter their user name and the results will return anywhere they're mentioned.

If you want to find pages they created then In the bottom left of the Search page, click Add a filter and select Creator, then choose the user.

I've just tested both of these methods using an inactive account and they worked as expected.

In both cases you can use the Custom field in the Of Type section to choose multiple types of content to search, if you don't want to limit yourself to one type but also don't want to return every type.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events