The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Rest API - User Impersonation and JWT Authentication

Patrice Champet
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 3, 2021

Hello there,

 

We are looking for information, best practices and/or recommandations regarding authentication using Rest Api while trying to add some impersonation.

We have an architecture with external applications creating Jira issues through a microservice developped internally that is accessible behind a WSO2 API Management gate.

 

model.png

We are using JWT token to identify the user from the external Application to the microservice.

For the time being, our microservice is using Jira RestApi with a specific technical account, always the same.

We aim at making every Rest Api call to Jira with the "real user" from the application (impersonation).

Any feedback, rex or documentation you may have will be welcome !

Thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Stefano Galati
February 3, 2021

Hi Patrice,

one solution would be to create a plugin that make the impersonation. I share with you this link of a blog that addresses the same issue.

In the text you will also read about the existence of plugins in the marketplace so you might as well take a look to see if a ready-made solution exists for you.

I have seen that a couple of plugins exist in the marketplace but I am not sure if they can be useful for the solution of your problem.