Switch User
The Switch User built-in script allows administrator users to temporarily assume the identity of another user. Switch User has a variety of uses, such as:
Reproducing and troubleshooting problems specific to a user to diagnose permissions issues.
Updating an issue on behalf of another user if they are unavailable.
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.
To prevent the impersonation of system administrator users by other system administrators enable the following dark feature:
scriptrunner.canned.jira.admin.switchuser.denyimpersonatesysadmin
Click here for more information on dark features.
You can disable/enable this feature in ScriptRunner Settings. See our settings documentation for more information.