Creating issues Inline on the backlog view does not respects issue types restrictions

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 8.20.1
    • Component/s: Project - Agile Boards
    • None
    • 8.2
    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      Creating issues from the backlog view on a board using the Create Issue button does not respects issue types restrictions:

      • in some cases, it is possible to create issues from issue types explicitly removed from the board filter = Scenario 1
      • in some other cases, it is not possible to create issues from some issue types even though they are not removed from the board filter = Scenario 2

      Steps to Reproduce Scenario 1

      1. Create a filter that excludes some issue types, for example:
        project = TEST AND NOT (issuetype = Story OR issuetype = Bug)
      2. Surprisingly, it will let you create issue only with those types

      Alternatively, with a slight different query:

      project = TEST AND issuetype not in (Story, Bug)

      It lets you create issues using all types, including the excluded ones:

      Expected Results

      Creating an inline issue should allow users to create issue types available within the board.

      Actual Results

      Creating an inline issue is allowing users to create issues that have been filtered out of the board view by the 'AND NOT' syntax.

      Steps to Reproduce Scenario 2

      1. Create a filter that links 2 conditions using OR, with one of the condition using issuetype = Bug. For example:
        project = SCRUM AND (component = Component1 OR issuetype in (Bug)) ORDER BY Rank ASC
        
      2. Test this filter query and notice that it shows issues from various types (Bug, Story...)
      3. Use this filter as the board filter query
      4. Go the backlog view of the board and notice that issues of various types are showing (Bug, Story...)
      5. Click on the Create Issue button at the bottom of the backlog panel

      Expected results

      All the issue types included by the board filter should be visible

      Actual results result

      Only the bug type is showing in the dropdown menu:

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

        1. image-2022-02-02-14-52-59-469.png
          image-2022-02-02-14-52-59-469.png
          347 kB
        2. image-2022-02-02-14-53-09-953.png
          image-2022-02-02-14-53-09-953.png
          283 kB
        3. image-2022-02-02-14-56-04-117.png
          image-2022-02-02-14-56-04-117.png
          387 kB
        4. image-2022-02-02-14-56-21-216.png
          image-2022-02-02-14-56-21-216.png
          282 kB
        5. Scenario2_Backog.png
          Scenario2_Backog.png
          315 kB
        6. Scenario2_CreateIssue_TypeList.png
          Scenario2_CreateIssue_TypeList.png
          341 kB
        7. Scenario2_Filter.png
          Scenario2_Filter.png
          174 kB

            Assignee:
            Unassigned
            Reporter:
            eneis (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: