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,248,148
Community Members
 
Community Events
164
Community Groups

Filter content search by disabled user?

Hey all, 

 

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

 

Thanks,

John

3 answers

@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

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?

Good catch, thank you! I removed the link. 

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.

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

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

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.

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
Community showcase
Published in Confluence Cloud

Presenter Mode for Confluence is here 🖥 👩‍💻

👋  Hello Community!  My name is Stephanie Zhang, and I’m a product manager on the Confluence cloud team. Today, I’m excited to announce the rollout of  Presenter Mode : a ...

1,263 views 14 31
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