Convert task to Project via API

In the UI, there’s an option to convert a task to a project. Is there a way to do the same through the API? Currently, my workflow is to duplicate a task with a long list of subtasks, make some updates to the subtasks, then I need to convert the task to a project. I don’t see this option in the API docs. Is this possible?

Hi @Heather_Cherewaty and welcome to the forum!

Sorry, there’s no API endpoint that does this. Of course you could write a routine using the API to replicate the same behavior via multiple API calls, but there’s no direct equivalent to that UI operation.

2 Likes

I agree with Phil, not that hard to code :ok_hand:

Thank you, Phil!

1 Like

In the UI, there’s an option to convert a task to a project. Is there a way to do the same through the API? I need to have the same behavior in the ui, i cant find any way to have this behavior in the ui through api

Hi @noah-mh and welcome to the forum,

I’ve merged your post with an existing thread on this topic. While this is from 2020, the answer is still the same - you’d need to code it yourself.

1 Like

Hi @noah-mh and welcome :slight_smile:

As mentioned above, API doesn’t offer a direct “convert to project” endpoint. The suggested approach is to create a project and then apply the necessary structure and data.

Just wanted to add that if your projects follow a consistent pattern, I highly recommend using project templates to standardize the setup. You can instantiate a project from a template via the API, then populate any task-specific details if necessary.

1 Like