What does "The 'has' attribute is not supported by this query" mean on a board query?

I have a saved search like this:

#unresolved state:-New tag:{Tech Debt} and (type: {User Story} or (type: -{User Story} has:-{Subtask of}))

The intent of that search is to find issues that meet either of these criteria:

  • is a user story
  • ...OR...
  • is not a user story AND is not a subtask of another issue

And, then, there are some additional criteria: unresolved, not New, with Tech Debt tag.

This search works just fine.

When I add this search as the query for a board, I get this error:

The 'has' attribute is not supported by this query

The implication would be that -{Subtask of} is not an acceptable value for has:, but I am seeing the same number of issues on the board in the search results.  As a result, I don't really understand what this is trying to tell me.

1 comment


I'm Sergey from the YouTrack team.

This warning appears because we don't recommend using the has attribute in the board query. The reason is that in some cases live updates, i.e., when the board is updated without the page reload, might not work with this attribute. In your case, for example, when you create a new card with a subtask → it doesn't match the query of has:-{Subtask of} → the card won't be created and you'll have to reload the board to continue using it. If this doesn't bother you, feel free to ignore this warning.


Please sign in to leave a comment.