Get User last activity date using the rest API

Thursday, July 4, 2024
Avatar

I'm trying to use the rest API V7 to get the user's LastActivityDate  which is being return as null.  The user being used to access the APIs has admin permissions and should be able to see all users.  Please advise me if there is a way to get the LastActivityDate 

3 Replies
Friday, July 5, 2024
Avatar
re: gsweeney Thursday, July 4, 2024

I have similar need. But not user-specific but project specific.

Example: I want to get (using some API) all changes in some field for the specific project.

Current APIs allows to get only history of specific entity, but I want to understand what has changed (I do not know ids of those entities) since some specific date (I know only project id).

Sunday, July 7, 2024
Avatar
re: ilyapolyakov Friday, July 5, 2024

Hi Team,

I just checked and user activity and baselines are not currently returned by the API.

Please could you log a support ticket with these requests and then we can get them added to our backlog?

Thanks

David

Friday, June 20, 2025
Avatar
re: ilyapolyakov Friday, July 5, 2024

It sounds like you're having trouble getting the LastActivityDate via the REST API V7. Here are a few quick tips:

Check Permissions: Ensure the API user has access rights to view user activity.
User Activity: Confirm that the user has performed actions; otherwise, the date may return as null.
Different Users: Test with other users to see if the issue persists.
If the problem continues, consider reaching out for support. Good luck!

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Thursday, July 4, 2024
  • Last Reply: Friday, June 20, 2025
  • Replies: 3
  • Views: 770