Run REST API on behalf of another user
General information
Available for:
- JIRA administrator - includes all of the following REST API:
- JIRA_URL/rest/*
- dedicated user groups (since v. 1.7.0 - please check REST API Configuration page)
- since v. 1.7.0 - changes in supported endpoint URLs - JIRA_URL/rest/*
How it’s works
It’s simple, just add into REST API request new header parameter contextUser containing username in the context of which we want to execute REST API.
CURL example
See how use contextUser in unix curl command
Postaman example
See how use contextUser in Postman
You can choose a group of users who will be able to perform the basic REST API on behalf of another user