User creation date via REST API?
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
Comments
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.
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.
User creation should definitely be logged. I will add an enhancement if there isn't one already.
Comments
Mike Shkolnik
Sep 06 '13, 2:03 p.m.I am using Tomcat, if that makes a difference.