Can you please let me know how to create project under Folder on wrike through API. As on your documentation there's a tab with folders and projects but under this there's no API call for project creation. I'm looking here to get API call for project creationhttps://developers.wrike.com/api/v4/folders-projects/
Actually I want to create project in existing folder. like by using Folder ID and also want to pass custom fields data for project custom fields.Secondly I want to get all projects list which are under any specific Folder.
Hi @Fahad Muneer! Projects and folders are treated the same way in the API, the only difference is that projects have extra information in regards to Project Owners, and Start/End dates. If you use "project" instead of "folder", you should get the results you're looking for.
Hope this helps! If you have any other questions, be sure to let me know 😊
Its not working....I changed the name of folders to project but i'm getting error.
{"errorDescription":"Method '[POST] /projects/IEAEA4ICI4R2AN4L/project' is not supported","error":"method_not_found"}
Hi @Ashir Zahid, welcome to the Community! I'm going to check with my colleagues now - we'll get back to you shortly 👍
Hi Ashir Zahid, Thanks for your interest in Wrike API. We have already discussed creating a project via API with you today during our chat and the Community team asked me to post a reply to the thread in case other users face a similar issue. To create a project under a folder through API call, please use the endpoint /folders/{folderId}/folders with the additional parameter project. Additionally, if you'd like to set a specific status on the project, you will need to add the parameter project={"customStatusId":"<em>your_Custom_Status_ID</em>"}.To get the "customStatusId" value, please use the following call: <strong>GET </strong><a href="https://www.wrike.com/api/v4/workflows" rel="nofollow noreferrer">https://www.wrike.com/api/v4/workflows</a><br>My test in Postman:cURL:Let us know if you have any additional questions.Have fun testing Wrike API!
/folders/{folderId}/folders
project
project={"customStatusId":"<em>your_Custom_Status_ID</em>"}
<strong>GET </strong><a href="https://www.wrike.com/api/v4/workflows" rel="nofollow noreferrer">https://www.wrike.com/api/v4/workflows</a><br>
@Lisa Kizymishina How do you apply a project to a second folder? For example, the API is creating the project in one folder. I'd like the same project tagged into a second folder by the API.
Hi @Gretchen Linder. Thanks for the additional question. Once you create a project in one location, please use a PUT call with the parameter addParents=[folder/project ID]to tag it in another parent item. Please refer to our API documentation and the screenshot below for more details:
addParents=[folder/project ID]
Let me know if there is anything else we can help you with☺️
I also need an action in an automation, so when a task is completed the project is added to another folder or space. Actually I would like to have information on how to add a project to a folder that is part of a different space, and to a different space (directly), via automation. I need the same project to exist in 2 different spaces. What would be the API endpoint to be used and where can I check the documentation?
Hi @Rohan VI need information on how to do it from Wirke Integrate.