From version 3.0.0, you can search for issues by the following criteria:
See the table below for examples of JQL queries:
JQL Query Pattern | JQL Query Example | Description |
---|---|---|
ISSUE IN issuesRelatedToTeamCityBuild("#<build_number>") | ISSUE IN issuesRelatedToTeamCityBuild("#217", "#218") | Looks up for issues that relate to builds #217 and #218. |
ISSUE IN issuesRelatedToTeamCityBuild("<teamcity_server_name>","#<build_number>") | ISSUE IN issuesRelatedToTeamCityBuild("Jetbrains","#3446","#3434","#3431") | Looks up for issues that relate to builds #3446, #3434, and #3431 in the Jetbrains TeamCity server. |
See the table below for examples of JQL queries:
JQL Query Pattern | JQL Query Example | Description |
---|---|---|
<FixedInBuild_field_name> = 'SUCCESS' | "Fixed in Build" = 'SUCCESS' | Looks up for issues with the Fixed in Build field which includes builds that completed successfully. |
<FixedInBuild_field_name> = 'FAILURE' | "Fixed in Build" = 'FAILURE' | Looks up for issues with the Fixed in Build field which includes builds that failed. |
<FixedInBuild_field_name> = "#<build_number>" | "Fixed in Build" = "#3411" | Looks up for issues with the Fixed in Build field which contains the build #3411. |
<FixedInBuild_field_name> IN ("#<build_number>", "#<build_number>") | "Fixed in Build" IN ("#3446","#3434") | Looks up for issues with the Fixed in Build field which contains builds #3411 or #3434. |
<FixedInBuild_field_name> IS EMPTY | "Fixed in Build" IS EMPTY | Looks up for issues where the Fixed in Build field is empty. |
<FixedInBuild_field_name> IS NOT EMPTY | "Fixed in Build" IS NOT EMPTY | Looks up for issues where the Fixed in Build field is not empty. |