Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Getting related list records using out of the box graphql

ShuvadayC
Kilo Contributor

Hi All

Is there any way i can get the incidents associated with a change request using the out of the box graphql query.

I was trying below,but dnt help:

{
GlideRecord_Query{
  change_request{
    _results{
      number{
        value
      }
      category{
        value
      }
      requested_by{
          _reference{
            last_name{
              displayValue
            }
          }
      }
      service{
        _reference{
            value
        }
      }
    cmdb_ci{
        _reference{
            name{
                value
            }
        }
    }
    incidents{
        _reference{
            value
        }
    }

    }
  }
}
}
0 REPLIES 0