Archive old projects

I have gotten the task to cleanup our clockify account.
somehow we have managed to accumulate 900+ projects.

but no one from ops have been good at archiving old projects.

But now it’s gotten out of hand, so I need to go in and archive the projects that are old.

I would like to see when the last where updated and say anything that hasn’t been updated this year can get archived.

But when I look at the api, there is no dates on the project and there is no way to get time entries for a specific project.

So how should I solve my problem?

Hi Leon,

Per the current system design sorting by creation date is not possible I’m afraid.
What you can consider is Grouping by Date/Month and Project in the Summary report while setting a larger date range (one or two years). so you can have a visual on the latest projects and even export that report to CSV for a custom script to read and cross-reference with the response from Get All Projects endpoint.

This will also be forwarded as a feature suggestion to the team in charge of API documentation so they can consider use cases like yours in further advancement of the endpoint list.

Cheers!

Was able to solve it, but it was not easy.

As a developer I would like to be able to export the ids of the projects, otherwise there is not safe way to update the projects.

Now I blindly had to find a project based on the name, and how that I was archiving the correct project.

Please add dates to the api :slight_smile: