{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/7599","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/7599/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/7599/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/7599/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/7599","id":41128320,"number":7599,"title":"4.2->7.1: last_activity_at not populated","user":{"login":"bbodenmiller","id":1192780,"avatar_url":"https://avatars.githubusercontent.com/u/1192780?v=3","gravatar_id":"","url":"https://api.github.com/users/bbodenmiller","html_url":"https://github.com/bbodenmiller","followers_url":"https://api.github.com/users/bbodenmiller/followers","following_url":"https://api.github.com/users/bbodenmiller/following{/other_user}","gists_url":"https://api.github.com/users/bbodenmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bbodenmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbodenmiller/subscriptions","organizations_url":"https://api.github.com/users/bbodenmiller/orgs","repos_url":"https://api.github.com/users/bbodenmiller/repos","events_url":"https://api.github.com/users/bbodenmiller/events{/privacy}","received_events_url":"https://api.github.com/users/bbodenmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-08-26T01:22:11Z","updated_at":"2015-05-17T18:42:59Z","closed_at":"2015-05-17T18:42:59Z","body":"Sometime during the upgrade process from 4.2 to 7.1 it appears `last_activity_at` was added (looks like 5.1 as per https://github.com/gitlabhq/gitlabhq/commit/734d6fcdf00846364fa39fc374753b7ea2cef603 & https://github.com/gitlabhq/gitlabhq/commit/4496a747c669611e35d758c994ed7ee9a235985a). Unfortunately it does not appear the upgrade process populates an initial `last_activity_at` date as I have many projects reporting no activity despite having a commit 4 months ago (pre-upgrade).\r\n\r\nA migration should be added to go through and populate the `last_activity_at` date for all projects where `last_activity_at: nil`. `last_activity_at` should be the latest of project creation date, lastest wiki change, latest issue change, latest merge request change, and latest commit. This migration cannot be addressed until https://github.com/gitlabhq/gitlabhq/issues/7750 is addressed."},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/102834139","html_url":"https://github.com/gitlabhq/gitlabhq/issues/7599#issuecomment-102834139","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/7599","id":102834139,"user":{"login":"jvanbaarsen","id":1362793,"avatar_url":"https://avatars.githubusercontent.com/u/1362793?v=3","gravatar_id":"","url":"https://api.github.com/users/jvanbaarsen","html_url":"https://github.com/jvanbaarsen","followers_url":"https://api.github.com/users/jvanbaarsen/followers","following_url":"https://api.github.com/users/jvanbaarsen/following{/other_user}","gists_url":"https://api.github.com/users/jvanbaarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanbaarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanbaarsen/subscriptions","organizations_url":"https://api.github.com/users/jvanbaarsen/orgs","repos_url":"https://api.github.com/users/jvanbaarsen/repos","events_url":"https://api.github.com/users/jvanbaarsen/events{/privacy}","received_events_url":"https://api.github.com/users/jvanbaarsen/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T18:42:59Z","updated_at":"2015-05-17T18:42:59Z","body":"Thanks for the issue report but we only support issues for the latest stable version of GitLab. I'm closing this issue but if you still experience this problem in the latest stable version, please open a new issue (but also reference the old issue(s)). Make sure to also include the necessary debugging information conforming to the issue tracker guidelines found in our [contributing guidelines](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#issue-tracker-guidelines)."}}