How do I find out a user account ID for use in CQL?

Purpose

The user's account ID can be used in CQL queries to narrow down queries to a specific user or to a small number of users.

For example, if the user account ID is 621dabxxxxx4c0070ad1fe7,  then the CQL should be:
creator="621dabxxxxx4c0070ad1fe7"

You can obtain this ID by following the instructions below.

Answer

You can obtain a user's account ID following these steps:

  1. In Confluence or Jira, click on the People tab, and either select or search for the user you are interested in. View their profile.

  2. The URL of their profile page will include their user account ID at the end. It will look a like string of random letters and numbers. You can copy this string and use it for CQL queries.