Filter work item type licensed widgets in GQL API
We currently allow fetching a list of widgets for each work item type that exists on the application with a query like
{
group(fullPath: "flightjs") {
workItemTypes {
nodes {
id
name
widgets {
type
... on WorkItemWidgetDefinitionAssignees {
allowsMultipleAssignees
canInviteMembers
}
... on WorkItemWidgetDefinitionLabels {
allowsScopedLabels
}
}
}
}
}
}
We should filter out licensed widgets that are not available for the parent the types are scoped to (group/project). We already do something similar when returning widget data at the work item type level
Edited by Mario Celi