Forums

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

How to fetch details/credentials of logged in user to hit Jira Rest API internally?

Deleted user April 18, 2022

Hi,

We are trying to build a custom Jira plugin, where we need to fetch all the user names as user selector field and make that field as searchable similar to users and roles section as attached in the screenshot.

Screenshot (69).png

To fetch users, internally following Jira API call has been made:

http://localhost:8080/rest/api/2/groupuserpicker?query=p&showAvatar=true

For which logged in user credentials will be used.

Can anyone please help me in letting know how to user logged in user credentials to hit the Jira Rest API's and how to implement user selector field in my custom build Jira plugin?

 

Thanks & Regards,

Preethi H R

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events