HI Team,
How can we use filter on child level object using WF api call.
like project have task collection and need a filter on tasks:milestoneID
I am using below code:
/attask/api/v19.0/PROJ/search?ID=XXXXX&fields=tasks:milestoneID&tasks:milestoneID_Mod=notnull
result is i m getting all the tasks list filter is not applying.
what is wrong on above code.
Views
Replies
Total Likes
I think maybe just go with
_____________&tasks:milestoneID_Mod=notnull
if you're looking to pull projects where tasks have milestones.
If you're looking to pull specific task data, might be easier for you to do /task/search?projectID=XXXXX&milestoneID_Mod=notnull&fields=* (why are you being constrained to a project search?)
Views
Replies
Total Likes
Thanks for reply...
My requirement is to pull all projects details along with its associated tasks and where milestoneID is not null.
Views
Replies
Total Likes
sorry I don't understand your goal. Are you being asked to pull in tasks where milestoneID is not null, or ALL tasks in the project?
Views
Replies
Total Likes
Project having collection of tasks and I want to pull all tasks where milestoneID is not null under project.
Views
Replies
Total Likes
Can you just do
/attask/api/v19.0/task/search?projectID=XXXXX&milestoneID_Mod=notnull&fields=project:*
Views
Replies
Total Likes