Switch User
The Switch User function allows administrator users to temporarily assume the identity of another user. You can switch user using the built-in script below, or you can switch user within Jira. The switch user function is enabled by default. However, you may wish to disable this feature as described on the Switch User Function page.
Using this built-in script
To switch back to your original user, click the Return to session as [your name] link in the Switch User banner, or log out and in again.
Navigate to Built-in Scripts > Switch to a Different User.
Under User, type the name of the target user.
Click Preview to see if the user switch is valid.
You cannot switch to a user with a higher permission level than your own.
If valid, click Run.
Results
If you are on Jira 10.x.x without JSM installed, please be aware of the following issue:
When switching to a user with insufficient permissions, you may encounter a Forbidden (403) error. This error prevents you from reverting to the admin session within the same page. To resolve this issue:
- Close the current page.
- Open a new browser tab or window.
- Log in again with your admin credentials.
After you select Run, you are taken to Jira home and see it as that user would.
This is what the audit log entry would look like:
To prevent the impersonation of system administrator users by other system administrators enable the following dark feature:
scriptrunner.canned.jira.admin.switchuser.denyimpersonatesysadmin
See Atlassian documentation for more information on dark features.

