Sudo for Jira
- Jira Service Management
- Jira Software
Enable administrators to run REST API commands as other users
Log work as the correct user
Use Sudo for Jira from your automation system to log work done by the actual user, rather than a service account.
Easily programmed with one HTTP header
Sudo for Jira is easy to use by simply adding a single HTTP header to your request to indicate the user/email of the user you'd like to act on behalf of.
Secure, only allows admin to perform sudo
Sudo for Jira is secure, it only allows sudo to work from accounts that are administrators.
This plugin allows administrators to execute commands via the REST API as other users. This is useful for example when triggering Jira issue transitions and time tracking via commit messages from another system. It can allow you to perform these commands as the actual user that made the commit, and attribute it to them, rather than to the automated administrative user.
=== Usage ===
Issue a REST API command (/rest/api/2/*) as a user with administrator privileges and include a sudo or sudo-email http header in the request. The sudo header should specify the username of the user to perform the command as, ie:
The sudo-email header will try to locate the user with the supplied email address to perform the command as, ie:
See the documentation for additional capabilities such as strict mode and cache control.
Privacy and security