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:
jenkinsWorstresult
String field containing the worst job result. From worst to best, UNKNOWN
, ABORTED
, NOT_BUILT
, FAILURE
, UNSTABLE
, SUCCESS
.
jenkinsTotal Number field containing the total number of unique jobs.
jenkinsSuccess Number field containing the total number of unique jobs where the last build was successful.
jenkinsUnstable Number field containing the total number of unique jobs where the last build was unstable.
jenkinsFailure Number field containing the total number of unique jobs where the last build has failed.
jenkinsAborted Number field containing the total number of unique jobs where the last build was aborted.
jenkinsNotbuilt Number field containing the total number of unique jobs where the last build was not built.
jenkinsUnknown Number field containing the total number of unique jobs where the last build has an unknown result state.
JQL Functions
issuesRelatedToJob() This function can be used to get all the issues that are related to the specified Jenkins Job. It only takes one argument, the Job name.
issuesRelatedToBuild() This function can be used to get all the issues that are related to the specified build, and can be used in two ways:
- Only provide a single argument; search for issues related to a specific build identified by its
id
. - Provide two arguments; search for issues related to a specific build identified by the
job name
andbuild number
. - Provide three arguments; search for issues related to a range of builds identified by the
job name
rangestart
andend
build numbers.
Previous: View Build Data
Next: Deployment Build Marker