title: Fetching parent value from child from json
body: <p>I have the following json and I am trying to get the <code>requestId</code> based on the value we have in <code>teamId</code>.</p>
  
  <p>I am trying with json path </p>
  
  <pre><code>$.[*].teamAssignments[?(@.teamId == 'Team:144')]..
  </code></pre>
  
  <p>for the this json:</p>
  
  <pre><code>[
    [
      {
        "requestId": "56cd284767c74d3d4dd3ec81",
        "role": "Software Engineer",
        "roleName": "Software Engineer",
        "teamAssignments": [
          {
            "teamId": "Team:144",
            "teamName": "ABC!",
            "teamFactoryNumber": "123",
          }
        ]
      }
    ]
  ]  
  </code></pre>
  
  <p>Is there a way I could retreive the <code>requestId</code> from <code>teamId</code> value ?</p>