Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-91042

Improve the logic for "Only show sprints in this project" option in the Sprint field

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Board - Sprints
    • None
    • 0
    • 3
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Summary

      Currently, when a user selects the "Only show sprints in this project" option, they are expected to view only the sprints created in the current project. However, due to the feature's current logic, it is possible that the project sprints do not show up.

      Scenario

      • Consider 2 projects named "Project A" and "Project B".
      • Within Project A, we have board "Board A" and sprint "Sprint A".
      • "Board A" has the below JQL:
        component = TEST AND (project = "Project B" OR project != "Project B") ORDER BY Rank ASC
      • When the JQL search is run, all issues from both projects are visible.
      • Now navigate to a "Project A" issue and try to update the sprint. When clicking on the "Sprint" field, enable the option "Only show sprints in this project"

      Expected Result

      Since "Sprint A" is created within "Project A", only "Sprint A" should be suggested in the Sprint field.

      Actual Result

      When the "Only show sprints in this project" option is selected, "Project A" sprints are not shown in the sprint field.

      Cause

      The sprint picker logic assumes that "Board A" only shows "Project B" issues going by the filter JQL. It doesn't use the component field (as per our example) to find more projects.
      Therefore:

      • When asking for sprints in "Project B", it will return sprints from "Board B"
      • When asking for sprints in the "Project A", it will not return sprints from "Board A"

      Workaround

      Modify the board filter query to explicitly include "Project A" in the JQL query:

      component = TEST AND (project = "Project B" OR project != "Project B" OR project = "Project A") ORDER BY Rank ASC

              Unassigned Unassigned
              b678926ca497 Bopanna
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: