Document toolboxDocument toolbox

(9.8-zh_CN) synapseRT JQL查询语句

synapseRT提供以下与此插件相关的JQL查询功能:

testSuite()

以下是testSuite() JQL功能的使用实例。

序号
用法
功能描述
1issue in testSuite()搜索项目中的所有测试用例。
2issue in testSuite('Test Suite Name')搜索某个特定根测试用例集中的测试用例。
3issue in testSuite('Test Suite 1/Sub Test Suite')搜索某个特定测试用例集中的测试用例(包含在根测试用例集下的子测试用例集)。
4issue in testSuite('Test Suite 1','Test Suite 2')搜索多个测试用例集中的测试用例。
5issue not in testSuite()搜素没有关联到任何测试用例集的测试用例。

hasRequirements()

以下是hasRequirements() JQL功能的使用实例。

序号
用法
功能描述
1issue in hasRequirements()

搜索所有关联了需求的测试用例。

2issue in hasRequirements('Issuekey1','Issuekey2')搜索所有关联了指定需求的测试用例。
3issue not in hasRequirements() and type = 'Test Case'搜索所有没有关联任何需求的测试用例。

hasTestCases()

以下是hasTestCases() JQL功能的使用实例。

序号
用法
功能描述
1issue in hasTestCases()搜索所有关联了测试用例的需求。
2issue in hasTestCases('Issuekey1','Issuekey2')搜索所有关联了指定测试用例的需求。
3issue not in hasTestCases() and type = 'Requirement'搜索所有没有关联任何测试用例的需求。

bugsInTestPlan()

以下是bugsInTestPlan() JQL功能的使用实例。

序号
用法
功能描述
1issue in bugsInTestPlan("Issuekey")搜索关联到指定的一个测试计划中缺陷。
2issue in bugsInTestPlan('Issuekey1','Issuekey2')搜索关联到指定的多个测试计划中的缺陷。

bugsInCycle()

以下是bugsInCycle() JQL功能的使用实例。

序号
用法
功能描述
1issue in bugsInCycle('TestCycleName')搜索所有关联到指定测试周期的缺陷。

bugsInTestCase()

以下是bugsInTestCase() JQL功能的使用实例。

序号
用法
功能描述
1issue in bugsInTestCase('issueKey')搜索所有关联到指定测试用例的缺陷。
2issue in bugsInTestCase('issueKey1','issueKey2')搜索所有关联到多个指定的测试用例的缺陷。

bugsInRequirement()

以下是bugsInRequirement() JQL功能的使用实例。

序号
用法
功能描述
1issue in bugsInRequirement('issueKey')搜索所有关联到指定需求的缺陷。
2issue in bugsInRequirement('issueKey1','issueKey2')搜索所有关联到多个指定的需求的缺陷。

bugsInBuild()

以下是bugsInBuild() JQL功能的使用实例。

序号
用法
功能描述
1issue in bugsInBuild('BuildName')搜索所有从指定的测试版本中报告的缺陷。
2issue in bugsInBuild('BuildName1','BuildName2')搜索所有从指定的多个测试版本中报告的缺陷。

bugsInEnvironment()

以下是bugsInEnvironment() JQL功能的使用实例。

序号
用法
功能描述
1issue in bugsInEnvironment('EnvName')搜索所有从指定的“测试环境”中报告的缺陷。
2issue in bugsInEnvironment('EnvName1','EnvName2')搜索所有从指定的多个“测试环境”中报告的缺陷。

hasActiveCycle()

以下是hasActiveCycle() JQL功能的使用实例。

序号
用法
功能描述
1issue in hasActiveCycle()搜索所有包含处于“开始”状态测试周期的测试计划。

hasCycleWithBugs()

以下是hasCycleWithBugs() JQL功能的使用实例。

序号
用法
功能描述
1issue in hasCycleWithBugs()搜索所有包含了“测试周期中关联了缺陷”的测试计划。

hasCycleWithUnresolvedBugs()

以下是hasCycleWithUnresolvedBugs() JQL功能的使用实例。

序号
用法
功能描述
1issue in hasCycleWithUnresolvedBugs()搜索所有包含了“测试周期中存在’未解决‘状态缺陷”的测试计划。

hasCycleWithFailedTestCases()

以下是hasCycleWithFailedTestCases() JQL功能的使用实例。

序号
用法
功能描述
1issue in hasCycleWithFailedTestCases()搜索所有包含了“测试周期中存在’失败‘状态测试用例”的测试计划。

hasCycleWithBlockedTestCases()

以下是hasCycleWithBlockedTestCases() JQL功能的使用实例。

序号
用法
功能描述
1issue in hasCycleWithBlockedTestCases()搜索所有包含了“测试周期中存在’锁定‘状态测试用例”的测试计划。

hasCycleWithUntestedTestCases()

以下是hasCycleWithUntestedTestCases() JQL功能的使用实例。

序号
用法
功能描述
1issue in hasCycleWithUntestedTestCases()搜索所有包含了“测试周期中存在’未测试‘状态测试用例”的测试计划。

hasCyclesOfDefectCount()

以下是hasCyclesOfDefectCount() JQL功能的使用实例,支持的运算符是:“==”,“>=”和“<=”。

序号
用法
功能描述
1issue in hasCyclesOfDefectCount("10")搜索所有包含了“测试周期中关联了10个缺陷”的测试计划。
2issue in hasCyclesOfDefectCount("<=","10")搜索所有包含了“测试周期中关联了10个或者少于10个缺陷”的测试计划。
3issue in hasCyclesOfDefectCount(">=","10")搜索所有包含了“测试周期中关联了10个或者多于10个缺陷”的测试计划。

testPlanMembers()

以下是 testPlanMembers() JQL功能的使用实例。

ID
用法
功能描述
1issue in testPlanMembers("issueKey")搜索指定测试计划中的所有测试用例。

childrenOfParentRequirement()

以下是childrenOfParentRequirement()JQL功能的使用实例。

ID
用法
功能描述
1issue in childrenOfParentRequirement("issueKey")搜索指定需求中直接关联的子级需求。
2issue in childrenOfParentRequirement("issueKey","all")搜索指定需求中直接关联的子级需求以及间接关联的子级需求。

testPlansForTester()

以下是testPlansForTester()JQL功能的使用实例。

ID
用法
功能描述
1issue in testPlansForTester("username")搜索所有包含了指定测试者(=用户名)的测试计划。

testCycleMembers()

以下是 testCycleMembers()JQL功能的使用实例。支持这些运算符: "==", ">=" 和"<="。

ID

用法

功能描述

1issue in testCycleMembers('TestPlanIssueKey','TestCycleName')搜索指定测试周期中的测试用例。
2issue in testCycleMembers('TestPlanIssueKey','TestCycleName','Not Tested')搜索指定测试周期中所有状态为“未测试”的测试用例。
3issue in testCycleMembers('TestPlanIssueKey','TestCycleName','NA')搜索指定测试周期中所有状态为“不适用”的测试用例。
4issue in testCycleMembers('TestPlanIssueKey','TestCycleName','Passed')搜索指定测试周期中所有状态为“通过”的测试用例
5issue in testCycleMembers('TestPlanIssueKey','TestCycleName','Failed')搜索指定测试周期中所有状态为“失败”的测试用例
6issue in testCycleMembers('TestPlanIssueKey','TestCycleName','Blocked')搜索指定测试周期中所有状态为“锁定”的测试用例