SynapseRT JQL リファレンス

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

  • testSuite()

  • hasRequirements()

  • hasTestCases()

  • bugsInTestPlan()

  • bugsInCycle()

  • bugsInTestCase()

  • bugsInRequirement()

  • bugsInBuild()

  • bugsInEnvironment()

  • hasActiveCycle()

  • hasCycleWithBugs()

  • hasCycleWithUnresolvedBugs()

  • hasCycleWithFailedTestCases()

  • hasCycleWithBlockedTestCases()

  • hasCycleWithUntestedTestCases()

  • hasCyclesOfDefectCount()

  • testPlanMembers()

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()

テスト スイートにない課題を検索します。

hasRequirements()

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

ID

用途

説明

1

issue in hasRequirements()

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

2

issue in hasRequirements('Issuekey1','Issuekey2')

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

3

issue not in hasRequirements() and type = 'Test Case'

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

hasTestCases()

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

ID

用途

説明

1

issue in hasTestCases()

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

2

issue in hasTestCases('Issuekey1','Issuekey2')

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

3

issue not in hasTestCases() and type = 'Requirement'

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

bugsInTestPlan()

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

ID

用途

説明

1

issue in bugsInTestPlan("Issuekey")

テスト計画から作成されたバグを検索します。

2

issue in bugsInTestPlan('Issuekey1','Issuekey2')

指定のテスト計画キー issueKey1 および issueKey2 に関連付けられているバグを検索します。

bugsInCycle()

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

ID

用途

説明

1

issue in bugsInCycle('TestCycleName')

指定のテスト サイクル名に関連付けられているバグを検索します。ワイルドカード検索を利用できます。

bugsInTestCase()

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

ID

用途

説明

1

issue in bugsInTestCase('issueKey')

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

2

issue in bugsInTestCase('issueKey1','issueKey2')

指定のテスト ケース キー issueKey1 および issueKey2 に関連付けられているバグを検索します。

bugsInRequirement()

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

ID

用途

説明

1

issue in bugsInRequirement('issueKey')

指定の要件キー issueKey に関連付けられているバグを検索します。

2

issue in bugsInRequirement('issueKey1','issueKey2')

指定の要件キー issueKey1 および issueKey2 に関連付けられているバグを検索します。

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()

バグを持つテスト サイクルがあるテスト計画をすべて検索します。

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 と関連付けられているテスト ケースを検索します。