Skip to main content
1-Visitor
June 14, 2016
Solved

Need help creating a query

  • June 14, 2016
  • 1 reply
  • 1476 views

I have created a query that displays Defects for a project and their related change requests and I am having a problem.

I would like the query to display all Defects for the project whether or not they have related change requests - An Unmatched query.

The problem is that the query will only display Defects that have spawned change requests.

Any help anyone can provide would be greatly appreciated.

Thanks, Ginny

This is the definition for the first statement:

querydeffirststatement.GIF

This is the definition for the second statement:

querydefsecondstatement.GIF

This is the definition for the third statement:

querydefthirdstatement.GIF

These are the default columns:

querydefdefaultcol.GIF

    Best answer by uminet

    Hello,

    I assume that the problem is the second statement in combination with the AND filters when following a relationship.

    If you want to see all defects of a specific project you should start with a simple query like "Type = Defect AND Project = xxx".

    (Or, for a start, disable the second statement and look at the result)

    Hope that it helps

    1 reply

    uminet13-AquamarineAnswer
    13-Aquamarine
    June 17, 2016

    Hello,

    I assume that the problem is the second statement in combination with the AND filters when following a relationship.

    If you want to see all defects of a specific project you should start with a simple query like "Type = Defect AND Project = xxx".

    (Or, for a start, disable the second statement and look at the result)

    Hope that it helps