It's all about the answers!

Ask a question

User creation date via REST API?


Mike Shkolnik (9808160143) | asked Sep 06 '13, 2:02 p.m.
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

Comments
Mike Shkolnik commented Sep 06 '13, 2:03 p.m.

I am using Tomcat, if that makes a difference.

One answer



permanent link
Stephanie Bagot (2.1k1513) | answered Sep 16 '13, 3:24 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.


Stephanie Bagot commented Apr 25 '14, 9:03 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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.


Stephanie Bagot commented Apr 28 '14, 1:46 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

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


Register or to post your answer.