Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43011

foundFailureCauses not shown in rest api for job level

XMLWordPrintable

      When using the rest API (specifically JSON in my case) to list all of the builds for a "job" the "actions" section is not listing any "foundFailureCauses" items, even when I can see them on the api pages for builds in that list.

       

      An example URL:

      ```
      https://HOST_NAME/job/JOB_NAME/api/json?tree=allBuilds[actions[foundFailureCauses[*]]]&pretty=true
      ```
      I have tried playing around with `depth` settings, and various other arrangements, but it does not seem to work.

      Short of this I will need to iterate on every single failed job to see if it already has been categorized.

            rsandell rsandell
            larkost Karl Kuehn
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: