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

How to get the userId of an specific user for the audit Log

Heiko February 12, 2020

Hello everybody someone knows how to get the user id of a specific user via rest?

1 answer

0 votes
DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2020

@Heiko Treunerif you aware of username you can get user key using get user api and using username in parameter.

API is reference here - https://docs.atlassian.com/atlassian-crowd/3.2.3/REST/#usermanagement/1/user-getUser

Heiko February 12, 2020

yes but i don't want the key i would like the id for linking the user profile in crowd audit log

DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2020

@Heiko Treuner  I think there is no ID field against user, what they have to uniquely identify user is 'key'.

Heiko February 12, 2020

Yes iknow, but i cant use the key for the audit log the field to identify the user to go to the user entry which have make changes in the audit log

https://docs.atlassian.com/atlassian-crowd/3.1.2/REST/?_ga=2.133030030.1220822418.1564918095-843970779.1553945401#admin/1.0/auditlog-addChangeset 

that specific user id i mean:

t.JPG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events