Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes

Comments

I am using Tomcat, if that makes a difference.



One answer

Permanent link
We don't save the user creation date information in the database, only modified.

1 vote

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. 
Did you open the RFE? If so, we would subscribe to it. Thanks in advance.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,073
× 486

Question asked: Sep 06 '13, 2:02 p.m.

Question was seen: 7,003 times

Last updated: Jul 30 '15, 4:18 a.m.

Confirmation Cancel Confirm