Document toolboxDocument toolbox

(9.6-ja_JP) synapseRT JQL リファレンス

JQL クエリで以下の JQL 関数が synapseRT 関連検索用に提供されています。

testSuite()

testSuite() JQL 関数の使用例を以下に示します。

ID
用途
説明
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 関数の使用例を以下に示します。

ID
用途
説明
1issue in hasRequirements()

要件が関連付けられているテスト ケースを検索します。

2issue in hasRequirements('Issuekey1','Issuekey2')指定の要件が関連付けられているテスト ケースを検索します。
3issue not in hasRequirements() and type = 'Test Case'要件が関連付けられていないテスト ケースを検索します。

hasTestCases()

hasTestCases() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in hasTestCases()テスト ケースが関連付けられている要件を検索します。
2issue in hasTestCases('Issuekey1','Issuekey2')指定のテスト ケースが関連付けられている要件を検索します。
3issue not in hasTestCases() and type = 'Requirement'テスト ケースが関連付けられていない要件を検索します。

requirementSuite()

requirementSuite() JQL 関数の使用例を以下に示します。

ID

用途

説明

1issue in requirementSuite()任意の要件スイートで要件を検索します。
2issue in requirementSuite('Requirement Suite Name')ルート要件スイートで要件を検索します。
3issue in requirementSuite('Requirement Suite 1/Sub Requirement Suite')(ルート要件スイート内の) 指定要件スイートの要件を検索します。
4issue in requiremenSuite('Requirement Suite 1','Requirement Suite 1')複数の指定要件スイートで要件を検索します。
5issue not in requiremenSuite()要件スイートにない要件を検索します。

bugsInTestPlan()

bugsInTestPlan() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in bugsInTestPlan("Issuekey")テスト計画から作成されたバグを検索します。
2issue in bugsInTestPlan('Issuekey1','Issuekey2')指定のテスト計画キー issueKey1 および issueKey2 に関連付けられているバグを検索します。

bugsInCycle()

bugsInCycle() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in bugsInCycle('TestCycleName')指定のテスト サイクル名に関連付けられているバグを検索します。ワイルドカード検索を利用できます。

bugsInTestCase()

bugsInTestCase() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in bugsInTestCase('issueKey')指定のテスト ケース キー issueKey に関連付けられているバグを検索します。
2issue in bugsInTestCase('issueKey1','issueKey2')指定のテスト ケース キー issueKey1 および issueKey2 に関連付けられているバグを検索します。

bugsInRequirement()

bugsInRequirement() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in bugsInRequirement('issueKey')指定の要件キー issueKey に関連付けられているバグを検索します。
2issue in bugsInRequirement('issueKey1','issueKey2')指定の要件キー issueKey1 および issueKey2 に関連付けられているバグを検索します。

bugsInBuild()

bugsInBuild() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in bugsInBuild('BuildName')指定のビルド名に関連付けられているバグを検索します。
2issue in bugsInBuild('BuildName1','BuildName2')指定のビルド名に関連付けられているバグを検索します。

bugsInEnvironment()

bugsInEnvironment() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in bugsInEnvironment('EnvName')指定の環境名に関連付けられているバグを検索します。
2issue in bugsInEnvironment('EnvName1','EnvName2')指定の環境名に関連付けられているバグを検索します。

hasActiveCycle()

hasActiveCycle() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in hasActiveCycle()アクティブ テスト サイクルがあるテスト計画をすべて検索します。

hasCycleWithBugs()

hasCycleWithBugs() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in hasCycleWithBugs()バグを持つテスト サイクルがあるテスト計画をすべて検索します。

hasCycleWithUnresolvedBugs()

hasCycleWithUnresolvedBugs() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in hasCycleWithUnresolvedBugs()未解決バグを持つテスト サイクルがあるテスト計画をすべて検索します。

hasCycleWithFailedTestCases()

hasCycleWithFailedTestCases() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in hasCycleWithFailedTestCases()失敗したテスト ケースを持つテスト サイクルがあるテスト計画をすべて検索します。

hasCycleWithBlockedTestCases()

hasCycleWithBlockedTestCases() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in hasCycleWithBlockedTestCases()ブロック テスト ケースを持つテスト サイクルがあるテスト計画をすべて検索します。

hasCycleWithUntestedTestCases()

hasCycleWithUntestedTestCases() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in hasCycleWithUntestedTestCases()未テストのテスト ケースを持つテスト サイクルがあるテスト計画をすべて検索します。

hasCyclesOfDefectCount()

hasCyclesOfDefectCount() JQL 関数の使用例を以下に示します。サポートされる演算子は、"=="、">="、および "<=" です。

ID
用途
説明
1issue  in hasCyclesOfDefectCount("10")不具合数が 10 件のテスト サイクルを持つテスト計画をすべて検索します。
2issue in hasCyclesOfDefectCount("<=","10")不具合数が 10 件以下のテスト サイクルを持つテスト計画をすべて検索します。
3issue in hasCyclesOfDefectCount(">=","10")不具合数が 10 件以上のテスト サイクルを持つテスト計画をすべて検索します。

testPlanMembers()

testPlanMembers() JQL 関数の使用例を以下に示します。

ID
用途
説明
1issue in testPlanMembers("issueKey")

指定のテスト計画キー issueKey と関連付けられているテスト ケースを検索します。

2issue in testPlanMembers("issueKey","Result")指定のテスト計画および実行結果と関連付けられているテスト ケースを検索します。

childrenOfParentRequirement()

childrenOfParentRequirement() JQL 関数の使用例を以下に示します。

ID

用途

説明

1issue  in childrenOfParentRequirement("issueKey")指定の要件キー issueKey の直下の子要件のみを検索します。
2issue  in childrenOfParentRequirement("issueKey","all")指定の要件キー issueKey の直下の要件、およびすべてのレベルの孫要件を検索します。

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')指定したテスト サイクルから "ブロック" のテスト ケース メンバーをすべて検索します。

testersOfCycle

testersOfCycle JQL 関数の使用例を以下に示します。

testersOfCycle JQL 関数で利用できる演算子は、=、!=、is not、is、not in、in です。

なお、この JQL はテスト サイクル ページでのみ使用するよう作成されています。

ID

用途

説明

1testerOfCycle = <username>指定の JIRA ユーザーに割り当てられたテスト実行を検索します。
2testersOfCycle = currentUser()現在の JIRA ユーザーに割り当てられたテスト実行を検索します。

resultsOfCycle

resultsOfCycle() JQL 関数の使用例を以下に示します。

resultsOfCycle() JQL 関数で利用できる演算子は、=、!=、is not、is、not in、in です。

なお、この JQL はテスト サイクル ページでのみ使用するよう作成されています。

ID

用途

説明

1resultsOfCycle = <result>指定のテスト結果のテスト実行を検索します。
2resultsOfCycle in ("Result1","Result2")指定のテスト結果 (複数) のテスト実行を検索します。

testersOfCycle()

testersOfCycle() JQL 関数の使用例を以下に示します。

なお、この JQL はテスト サイクル ページでのみ使用するよう作成されています。

ID

用途

説明

1issue in testersOfCycle("username")指定の JIRA ユーザーに割り当てられたテスト実行を検索します。
2issue in testersOfCycle("username1","username2")指定の JIRA ユーザー (複数) に割り当てられたテスト実行を検索します。

resultsOfCycle()

resultsOfCycle() JQL 関数の使用例を以下に示します。

なお、この JQL はテスト サイクル ページでのみ使用するよう作成されています。

ID

用途

説明

1issue in resultsOfCycle("Result")指定のテスト結果のテスト実行を検索します。
2issue in resultsOfCycle("Result1","Result2")指定のテスト結果 (複数) のテスト実行を検索します。