User creation date via REST API?
I need to get the date a user was CREATED (not modified) via the REST API. I can get the date modified, but I don't see the date created. So far I have tried:
https://SERVER:PORT/jazz/oslc/users.xml https://SERVER:PORT/jts/rpt/repository/foundation?fields=foundation/contributor/*/* https://SERVER:PORT/jazz/service/com.ibm.team.apt.internal.service.rest.IResourcePlanningRestService/workEnvironment?contributorId=USERITEMID |
One answer
We don't save the user creation date information in the database, only modified.
Comments
Mike Shkolnik
commented Apr 24 '14, 8:20 p.m.
Is the creation date saved in a log somewhere? I can't seem to find it in the Tomcat logs, but I could be missing something. I am already looking up everyone's last login date by loading and parsing the last 90 days of logs, so adding a check for new user creation would be a snap if that info is in the logs. Creation date should be listed SOMEWHERE, even if hidden from the UI and the API.
We don't save the user creation date anywhere - not in the logs, nor in the DB. The only thing that is saved is the last modified date of a user account. So if the user account has not been modified since its creation, the modified date essentially would be the creation date. You can look for this information in the JTS database.
Mike Shkolnik
commented Apr 28 '14, 1:30 p.m.
Unfortunately, that won't help. I am trying to exclude "recently created" users. "Recently modified" won't do. User creation should definitely be logged. I will add an enhancement if there isn't one already.
I would suggest an RFE then.
SEC Servizi
commented Jul 30 '15, 4:18 a.m.
User creation should definitely be logged. I will add an enhancement if there isn't one already.
Did you open the RFE? If so, we would subscribe to it. Thanks in advance.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
I am using Tomcat, if that makes a difference.