Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,502
Community Members
 
Community Events
185
Community Groups

Impersonate a user to make API calls

Simon Baeck
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 25, 2023

Hi,

Is there a way to make API calls on behalf of another user without generating a API key for each an every user in my Jira environment?

Currently I am using the Jira Cloud platform API to create issues through my own full stack application (angular & .NET) with the API. I am also using Azure AD to authenticate users on my application, once access is granted we (currently) manually register new users in Jira with their Microsoft accounts. Which until now works like it is intended, the only problem I am facing now is that whenever I want to create an issue it sets the creator of that issue to the user who generated the API access key. The creator should be the user that is currently signed in on my application.

I discovered that for Jira Service Desk API there was a parameter you could add to a request like so:

"raiseOnBehalfOf": "email@domain.com",

Which I assume would sets the creator of an instance to that user and not to the user who generated the API access key.

Suggestions or solutions will be greatly appreciated.

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 25, 2023

Hi,

Welcome to the community

It's seems that is not possible, you can vote for this feature request open here

https://ecosystem.atlassian.net/browse/AC-1080

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events