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,368,866
Community Members
 
Community Events
168
Community Groups

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

Edited

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

1 answer

0 votes
DPK J Community Leader Feb 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

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

DPK J Community Leader Feb 12, 2020

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

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

Atlassian Community Events