Hello.
I am trying to fetch an item along with its subtasks and their column values. Currently, this does not seem to be supported
Is there a way in which I can fetch the subitems’ column values along with its parent in the same query?
Page 1 / 1
hi @gmahima
With the ... on SubtaskValue
fragment you can retrieve data in the subitems column (in the parent), such as the settings_str that gives you the board where the subitems live.
To get to the subitems and their column values try something like this
{
boards(ids: [4738294968]) {
items_page {
items {
id
column_values {
id
text
column {
title
}
}
subitems {
column_values {
value
}
}
}
}
}
}
Thank you @basdebruin !!!
@basdebruin That works! Thank you
Reply
Login to monday.com
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.