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

Searching for team-managed subtasks using sprint related JQL returns the wrong sprint if the subtask used to be a base level issue in a sprint

      Issue Summary

      This is reproducible on Data Center: no

      Steps to Reproduce

      1. Create a team-managed (formerly next-gen) Scrum project. (Or alternatively enable the Sprints feature for your team-managed board.)
      2. In a sprint (Sprint 1) create a task and a subtask whose parent is that task.
      3. Search for the issues in that sprint using JQL like project = <your project> and Sprint = <your sprint id> ORDER BY created DESC. (This example is using the issue navigator's JQL search, but it will affect anywhere JQL is used such as custom filters.) You shouldn't see any subtasks returned due to https://jira.atlassian.com/browse/JSWCLOUD-18398. (When https://jira.atlassian.com/browse/JSWCLOUD-18398 is fixed, we expect to see the subtasks match the sprint that their parent is in.)
      4. In another sprint (Sprint 2), create a story.
      5. In issue navigator, search for the issues in Sprint 2. You should see that story.
      6. Using the issue move functionality, change the story to be a subtask of the task that's in Sprint 1.
      7. Use JQL to search for the issues in Sprint 1. (Same search as step 3). You should see the same results as step 3.
      8. Use JQL to search for the issues in Sprint 2. (Same search as step 5).

      Expected Results

      The subtask that used to be a story should match sprint related JQL based on it's parent's sprint value.

      Actual Results

      The subtask that used to be a story will match sprint related JQL based on the sprint it was in when it was a story.

      Workaround

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

        1. JSWCLOUD Step 3.png
          JSWCLOUD Step 3.png
          63 kB
        2. JSWCLOUD Step 4.png
          JSWCLOUD Step 4.png
          109 kB
        3. JSWCLOUD Step 5.png
          JSWCLOUD Step 5.png
          63 kB
        4. JSWCLOUD step 6.png
          JSWCLOUD step 6.png
          72 kB
        5. Screen Shot 2022-03-02 at 5.26.56 pm.png
          Screen Shot 2022-03-02 at 5.26.56 pm.png
          72 kB

            [JRACLOUD-90887] Searching for team-managed subtasks using sprint related JQL returns the wrong sprint if the subtask used to be a base level issue in a sprint

            Dylan added a comment -

            Hi all,

            Thank you for raising this bug and bringing it to our attention.

            Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved.

            To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Jira users.

            Dylan added a comment - Hi all, Thank you for raising this bug and bringing it to our attention. Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Jira users.

              Unassigned Unassigned
              nso@atlassian.com Nara So
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: