Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-11695

JQL function 'testTypesOfKind' cannot find the test kind

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Xray DC 8.4.3
    • None
    • JQL Functions, UI
    • None
    • .

    • UNCOVERED

    Description

      Description
      The JQL function 'testTypesOfKind' doesn't work for existing Test Kinds, in case there are multiple contexts for the custom field "Test Type" and the user doesn't have permissions to Browse all related projects.

      How to reproduce

      1. Create ProjA and ProjB
      2. Create two contexts for the custom field Test Type
      3. Create the Test Types (Manual-Steps, Cucumber-Gherkin, Generic-Unstructured) on both contexts
      4. Assign one context to ProjA and assign the other context to ProjB
      5. Remove the Browse permissions for the user to the ProjB
      6. Use the JQL function 'testTypesOfKind' with kind (Steps, Gherkin or Unstructured) in the Search for issues

      Actual result/Attachments

      Expected result
      The JQL function should return the expected results for the specified Test Kind

      Attachments

        Activity

          People

            joana.fonseca Joana Fonseca
            maaf Miguel Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: