(9.7-ja_JP) synapseRT JQL リファレンス
JQL クエリで以下の JQL 関数が synapseRT 関連検索用に提供されています。
testSuite()
testSuite() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in testSuite() | 任意のテスト スイートでテスト ケースを検索します。 |
2 | issue in testSuite('Test Suite Name') | ルート テスト スイートでテスト ケースを検索します。 |
3 | issue in testSuite('Test Suite 1/Sub Test Suite') | 特定のテスト スイートでテスト ケースを検索します (ルート テスト スイート内) |
4 | issue in testSuite('Test Suite 1','Test Suite 2') | 複数の特定のテスト スイートでテスト ケースを検索します。 |
5 | issue not in testSuite() | テスト スイートにないテスト ケースを検索します。 |
stepText()
stepText() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in stepText("") | テスト ステップを含まないテスト ケースを検索します。 |
2 | issue in stepText("Texts") | テスト ステップに <テキスト> というテキストを含むテスト ケースを検索します。 |
hasRequirements()
hasRequirements() JQL 関数の使用例を以下に示します。
なお、この JQL では入れ子関数がサポートされています。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasRequirements() | 要件が関連付けられているテスト ケースを検索します。 |
2 | issue in hasRequirements('Issuekey1','Issuekey2') | 指定の要件が関連付けられているテスト ケースを検索します。 |
3 | issue not in hasRequirements() and type = 'Test Case' | 要件が関連付けられていないテスト ケースを検索します。 |
4 | issue in hasRequirements('project = <projectKey> AND component = "<Component Name>"') 注意 : 外側の引用符は単一引用符 ' にする必要があります。これを使用しない場合、構文エラーが返されます。 | 要件セットに関連付けられているテスト ケースを検索します。これらの要件は入れ子関数 (project = projectName AND component = "Component Name") で返されます。 |
hasTestCases()
hasTestCases() JQL 関数の使用例を以下に示します。
なお、この JQL では入れ子関数がサポートされています。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasTestCases() | テスト ケースが関連付けられている要件を検索します。 |
2 | issue in hasTestCases('Issuekey1','Issuekey2') | 指定のテスト ケースが関連付けられている要件を検索します。 |
3 | issue not in hasTestCases() and type = 'Requirement' | テスト ケースが関連付けられていない要件を検索します。 |
4 | issue in hasTestCases('project = <projectKey> AND component = "<Component Name">') 注意 : 外側の引用符は単一引用符 ' にする必要があります。これを使用しない場合、構文エラーが返されます。 | テスト ケース セットが関連付けられている要件を検索します。これらのテスト ケースは入れ子関数 ('project = <projectKey> AND component = "<Component Name">') で返されます。 |
requirementSuite()
requirementSuite() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in requirementSuite() | 任意の要件スイートで要件を検索します。 |
2 | issue in requirementSuite('Requirement Suite Name') | ルート要件スイートで要件を検索します。 |
3 | issue in requirementSuite('Requirement Suite 1/Sub Requirement Suite') | (ルート要件スイート内の) 指定要件スイートの要件を検索します。 |
4 | issue in requiremenSuite('Requirement Suite 1','Requirement Suite 1') | 複数の指定要件スイートで要件を検索します。 |
5 | issue not in requiremenSuite() | 要件スイートにない要件を検索します。 |
requirementsFromBaseline()
requirementsFromBaseline() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in requirementsFromBaseline("projectKey", "groupName", "baselineName") | 下記から要件を検索します。
|
requirementsInBug()
requirementsInBug() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in requirementsInBug('issueKey') | 指定の不具合 issueKey が報告された要件群を検索します。 |
2 | issue in requirementsInBug('issueKey','True') | 指定の不具合 issueKey が報告された要件群を検索します。 |
3 | issue in requirementsInBug('issueKey','False') | 指定の不具合 issueKey が報告された直接の要件を検索します。 |
bugsInTestPlan()
bugsInTestPlan() JQL 関数の使用例を以下に示します。
なお、この JQL では入れ子関数がサポートされています。
ID | 用途 | 説明 |
---|---|---|
1 | issue in bugsInTestPlan('Issuekey') | テスト計画から作成されたバグを検索します。 |
2 | issue in bugsInTestPlan('Issuekey1','Issuekey2') | 指定のテスト計画キー issueKey1 および issueKey2 に関連付けられているバグを検索します。 |
3 | issue in bugsInTestPlan('project = <projectKey> AND component = "<Component Name">') 注意 : 外側の引用符は単一引用符 ' にする必要があります。これを使用しない場合、構文エラーが返されます。 | テスト プランのセットに関連付けられているバグを検索します。これらのテスト プランは入れ子関数 ('project = <projectKey> AND component = "<Component Name">') で返されます。 |
bugsInCycle()
bugsInCycle() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in bugsInCycle('TestCycleName') | 指定のテスト サイクル名に関連付けられているバグを検索します。ワイルドカード検索を利用できます。 |
bugsInTestCase()
bugsInTestCase() JQL 関数の使用例を以下に示します。
なお、この JQL では入れ子関数がサポートされています。
ID | 用途 | 説明 |
---|---|---|
1 | issue in bugsInTestCase('issueKey') | 指定のテスト ケース キー issueKey に関連付けられているバグを検索します。 |
2 | issue in bugsInTestCase('issueKey1','issueKey2') | 指定のテスト ケース キー issueKey1 および issueKey2 に関連付けられているバグを検索します。 |
3 | issue not in bugsInTestCase("") and issuetype = Bug | テスト ケースに関連付けられていないバグを検索します。 |
4 | issue in bugsInTestCase('project = <projectKey> AND component = "<Component Name">') 注意 : 外側の引用符は単一引用符 ' にする必要があります。これを使用しない場合、構文エラーが返されます。 | テスト ケースのセットに関連付けられているバグを検索します。これらのテスト ケースは入れ子関数 ('project = <projectKey> AND component = "<Component Name">') で返されます。 |
bugsInRequirement()
bugsInRequirement() JQL 関数の使用例を以下に示します。
なお、この JQL では入れ子関数がサポートされています。
ID | 用途 | 説明 |
---|---|---|
1 | issue in bugsInRequirement('issueKey') | 指定の要件キー issueKey に関連付けられているバグを検索します。 |
2 | issue in bugsInRequirement('issueKey1','issueKey2') | 指定の要件キー issueKey1 および issueKey2 に関連付けられているバグを検索します。 |
3 | issue in bugsInRequirement('project = <projectKey> AND component = "<Component Name">') 注意 : 外側の引用符は単一引用符 ' にする必要があります。これを使用しない場合、構文エラーが返されます。 | 要件セットに関連付けられているバグを検索します。これらの要件は入れ子関数 ('project = <projectKey> AND component = "<Component Name">') で返されます。 |
bugsInBuild()
bugsInBuild() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in bugsInBuild('BuildName') | 指定のビルド名に関連付けられているバグを検索します。 |
2 | issue in bugsInBuild('BuildName1','BuildName2') | 指定のビルド名に関連付けられているバグを検索します。 |
bugsInEnvironment()
bugsInEnvironment() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in bugsInEnvironment('EnvName') | 指定の環境名に関連付けられているバグを検索します。 |
2 | issue in bugsInEnvironment('EnvName1','EnvName2') | 指定の環境名に関連付けられているバグを検索します。 |
hasActiveCycle()
hasActiveCycle() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasActiveCycle() | アクティブ テスト サイクルがあるテスト計画をすべて検索します。 |
hasCycleWithBugs()
hasCycleWithBugs() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasCycleWithBugs() | バグを持つテスト サイクルがあるテスト計画をすべて検索します。 |
testPlansWithoutTestCases()
testPlansWithoutTestCases() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in testPlansWithoutTestCases() | テスト ケースが関連付けられていないテスト計画をすべて検索します。 |
hasCycleWithUnresolvedBugs()
hasCycleWithUnresolvedBugs() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasCycleWithUnresolvedBugs() | 未解決バグを持つテスト サイクルがあるテスト計画をすべて検索します。 |
hasCycleWithFailedTestCases()
hasCycleWithFailedTestCases() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasCycleWithFailedTestCases() | 失敗したテスト ケースを持つテスト サイクルがあるテスト計画をすべて検索します。 |
hasCycleWithBlockedTestCases()
hasCycleWithBlockedTestCases() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasCycleWithBlockedTestCases() | ブロック テスト ケースを持つテスト サイクルがあるテスト計画をすべて検索します。 |
hasCycleWithUntestedTestCases()
hasCycleWithUntestedTestCases() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasCycleWithUntestedTestCases() | 未テストのテスト ケースを持つテスト サイクルがあるテスト計画をすべて検索します。 |
hasCyclesOfDefectCount()
hasCyclesOfDefectCount() JQL 関数の使用例を以下に示します。サポートされる演算子は、"=="、">="、および "<=" です。
ID | 用途 | 説明 |
---|---|---|
1 | issue in hasCyclesOfDefectCount("10") | 不具合数が 10 件のテスト サイクルを持つテスト計画をすべて検索します。 |
2 | issue in hasCyclesOfDefectCount("<=","10") | 不具合数が 10 件以下のテスト サイクルを持つテスト計画をすべて検索します。 |
3 | issue in hasCyclesOfDefectCount(">=","10") | 不具合数が 10 件以上のテスト サイクルを持つテスト計画をすべて検索します。 |
testPlanMembers()
testPlanMembers() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in testPlanMembers("issueKey") | 指定のテスト計画キー issueKey と関連付けられているテスト ケースを検索します。 |
testPlanMembersWithLatestResult()
testPlanMembersWithLatestResult() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in testPlanMembersWithLatestResult("testPlanKey","Result") | 最新のテスト結果が特定のテスト計画から指定した "結果" (例 : 失敗) と等しいテスト ケースを検索します。 |
2 | issue in testPlanMembersWithLatestResult("testPlanKey","Result1","Result2") | 最新のテスト結果が特定のテスト計画から指定した "Result1" または "Result2" (例 : 失敗またはブロック) と等しいテスト ケースを検索します。 |
childrenOfParentRequirement()
childrenOfParentRequirement() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in childrenOfParentRequirement("issueKey") | 指定の要件キー issueKey の直下の子要件のみを検索します。 |
2 | issue in childrenOfParentRequirement("issueKey","all") | 指定の要件キー issueKey の直下の要件、およびすべてのレベルの孫要件を検索します。 |
testPlansForTester()
testPlansForTester() JQL 関数の使用例を以下に示します。
ID | 用途 | 説明 |
---|---|---|
1 | issue in testPlansForTester("username") | テスター (= ユーザー名) が割り当てられているテスト計画を検索します。 |
testCycleMembers()
testCycleMembers() JQL 関数の使用例を以下に示します。サポートされる演算子は、"=="、">="、および "<=" です。
ID | 用途 | 説明 |
---|---|---|
1 | issue in testCycleMembers('TestPlanIssueKey','TestCycleName') | 指定したテスト サイクルからテスト ケース メンバーをすべて検索します。 |
2 | issue in testCycleMembers('TestPlanIssueKey','TestCycleName','Not Tested') | 指定したテスト サイクルから "未テスト" のテスト ケース メンバーをすべて検索します。 |
3 | issue in testCycleMembers('TestPlanIssueKey','TestCycleName','NA') | 指定したテスト サイクルから "該当なし" のテスト ケース メンバーをすべて検索します。 |
4 | issue in testCycleMembers('TestPlanIssueKey','TestCycleName','Passed') | 指定したテスト サイクルから "合格" のテスト ケース メンバーをすべて検索します。 |
5 | issue in testCycleMembers('TestPlanIssueKey','TestCycleName','Failed') | 指定したテスト サイクルから "失敗" のテスト ケース メンバーをすべて検索します。 |
6 | issue in testCycleMembers('TestPlanIssueKey','TestCycleName','Blocked') | 指定したテスト サイクルから "ブロック" のテスト ケース メンバーをすべて検索します。 |
testersOfCycle
testersOfCycle JQL 関数の使用例を以下に示します。
testersOfCycle JQL 関数で利用できる演算子は以下のとおりです : =、!=、is not、is、not in、in
なお、この JQL はテスト サイクル ページでのみ使用する目的で作成されています。
ID | 用途 | 説明 |
---|---|---|
1 | testerOfCycle = <username> | 指定の JIRA ユーザーに割り当てられたテスト実行を検索します。 |
2 | testersOfCycle = currentUser() | 現在の JIRA ユーザーに割り当てられたテスト実行を検索します。 |
resultsOfCycle
resultsOfCycle() JQL 関数の使用例を以下に示します。
resultsOfCycle() JQL 関数で利用できる演算子は以下のとおりです : =、!=、is not、is、not in、in
なお、この JQL はテスト サイクル ページでのみ使用する目的で作成されています。
ID | 用途 | 説明 |
---|---|---|
1 | resultsOfCycle = <result> | 指定のテスト結果のテスト実行を検索します。 |
2 | resultsOfCycle in ("Result1","Result2") | 指定のテスト結果 (複数) のテスト実行を検索します。 |
testersOfCycle()
testersOfCycle() JQL 関数の使用例を以下に示します。
なお、この JQL はテスト サイクル ページでのみ使用する目的で作成されています。
ID | 用途 | 説明 |
---|---|---|
1 | issue in testersOfCycle("username") | 指定の JIRA ユーザーに割り当てられたテスト実行を検索します。 |
2 | issue in testersOfCycle("username1","username2") | 指定の JIRA ユーザー (複数) に割り当てられたテスト実行を検索します。 |
resultsOfCycle()
resultsOfCycle() JQL 関数の使用例を以下に示します。
なお、この JQL はテスト サイクル ページでのみ使用する目的で作成されています。
ID | 用途 | 説明 |
---|---|---|
1 | issue in resultsOfCycle("Result") | 指定のテスト結果のテスト実行を検索します。 |
2 | issue in resultsOfCycle("Result1","Result2") | 指定のテスト結果 (複数) のテスト実行を検索します。 |