Wrike Tasks API superParentIds field
Hi everyone,
I'm facing an issue with getting a "superParentIds" field from Tasks API https://developers.wrike.com/documentation/api/methods/query-tasks.
It is always empty. My project urgently needs this field. Did anyone have this issue? Did anyone manage to fetch this field?
Thanks
Ivan
Hi Ivan! Thank you for the question and for giving us a heads up about the API documentation. It indeed has an inaccurate description for "superParentIds", which could have been confusing. We will update the docs to make sure they represent the correct info.
The ‘superParentIds’ parameter is only given for tasks which have a parent task (subtasks). The ID points to the Folder where the parent resides (basically, it is the ‘inherited’ tag). Please see this screenshot for illustration:
I am ready to answer any other questions about this, and happy to to discuss your use case further!
Pavel, how can I create a subtask of another task, that is not in any folder, using the API?
Hi John! You can use 'superTasks' parameter in your POST request to 'attach' your task to parent : https://developers.wrike.com/documentation/api/methods/create-task
'parents' parameter can be used to place task in account root, so that it won't have any tag. By default if you do not place your task in any folder upon creation (this parameter is optional), it will appear in account root and will have no folder tag apart from the 'ghost' tag inherited from parent.
Hope this helps!