how to impersonate as user

I would like to impersonate as user and retrieve few details like createmeta using rest api in Jira server.

In cloud, we have jwt oauth bearer token to achieve this. Is there any way to achieve this in Jira server?

1 answer

0 votes

There exists a feature request to allow for this in Jira server REST API in

But that issue was closed in order to be tracked over in

While that issue has been resolved, it looks like this implementation was only created for the Atlassian Connect framework, which is only provided at this time to our Cloud offerings.

That said, I am aware of a pair of Jira Server plugins that will allow you to impersonate other users in Jira, provided you are the Jira administrator:

I realize these may not be exactly what you are looking for since these effect what is seen in the web interface versus a REST API call.  However my thought was that you might be able to use one of those plugins in conjunction with the Atlassian REST API Browser plugin.  At least that way you might be able to make a rest call as that user, granted it would have to be in the browser session in order to do this, but it could work.  I am not sure if this is really what you are looking for though, I could see if you were looking to automate this REST call for one reason or another this path might not be a viable solution.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,982 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot