Entity Properties

The build to issue index is available as indexed issue entity properties that can be used in JQL when searching for issues, the following index attributes are available:

AttributeJQL Description
Worse job resultjenkinsWorstresultString field containing the worst job result. From worst to best, UNKNOWN, ABORTED, NOT_BUILT, FAILURE, UNSTABLE, SUCCESS
Total number of jobs linkedjenkinsTotalNumber field containing the total number of unique jobs.
Total number of success jobsjenkinsSuccessNumber field containing the total number of unique jobs where the last build was successful.
Total number of unstable jobsjenkinsUnstableNumber field containing the total number of unique jobs where the last build was unstable.
Total number of failure jobsjenkinsFailureNumber field containing the total number of unique jobs where the last build has failed.
Total number of aborted jobsjenkinsAbortedNumber field containing the total number of unique jobs where the last build was aborted.
Total number of not built jobsjenkinsNotbuiltNumber field containing the total number of unique jobs where the last build was not built.
Total number of unknown jobsjenkinsUnknownNumber field containing the total number of unique jobs where the last build has an unknown result state.
find issues in project DEV that have a worst result of FAILURE
project = DEV AND jenkinsWorstresult = FAILURE ORDER BY priority DESC
find issues in the project DEV that have non-successful builds
project = DEV AND jenkinsTotal > jenkinsSuccess ORDER BY priority DESC