Forums

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

How to find the current user in a Jira connector application?

Tal Gumi
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!
August 16, 2023

I have built a costume application for Jira (I didn't use the Forge platform) and I want to get the application's current user data.
I tried to use some Atlassian JavaScript API functions such as 'getCurrentUser' (returns the Atlassian Account ID) and 'getUser' (returns a JWT token).
I also tried to use the '/myself' endpoint from the Jira Cloud platform REST API but it returns the application user and not the actual current user.
Is there another endpoint or a built-in function I can use to get the current user data?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events